aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/icmp.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-04-20 20:09:22 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:29:24 -0400
commit3ff50b7997fe06cd5d276b229967bb52d6b3b6c1 (patch)
tree4f0f57123a945c3e6c39759456b6187bb78c4b1f /net/ipv6/icmp.c
parentc462238d6a6d8ee855bda10f9fff442971540ed2 (diff)
[NET]: cleanup extra semicolons
Spring cleaning time... There seems to be a lot of places in the network code that have extra bogus semicolons after conditionals. Most commonly is a bogus semicolon after: switch() { } Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/icmp.c')
-rw-r--r--net/ipv6/icmp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c
index e94992ab92e6..e9bcce9e7bdf 100644
--- a/net/ipv6/icmp.c
+++ b/net/ipv6/icmp.c
@@ -732,7 +732,8 @@ static int icmpv6_rcv(struct sk_buff **pskb)
732 */ 732 */
733 733
734 icmpv6_notify(skb, type, hdr->icmp6_code, hdr->icmp6_mtu); 734 icmpv6_notify(skb, type, hdr->icmp6_code, hdr->icmp6_mtu);
735 }; 735 }
736
736 kfree_skb(skb); 737 kfree_skb(skb);
737 return 0; 738 return 0;
738 739
@@ -865,7 +866,7 @@ int icmpv6_err_convert(int type, int code, int *err)
865 case ICMPV6_TIME_EXCEED: 866 case ICMPV6_TIME_EXCEED:
866 *err = EHOSTUNREACH; 867 *err = EHOSTUNREACH;
867 break; 868 break;
868 }; 869 }
869 870
870 return fatal; 871 return fatal;
871} 872}