diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-04-20 20:09:22 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:29:24 -0400 |
commit | 3ff50b7997fe06cd5d276b229967bb52d6b3b6c1 (patch) | |
tree | 4f0f57123a945c3e6c39759456b6187bb78c4b1f /net/ipv6/raw.c | |
parent | c462238d6a6d8ee855bda10f9fff442971540ed2 (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/raw.c')
-rw-r--r-- | net/ipv6/raw.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index f65fcd7704ca..009a1047fc3f 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c | |||
@@ -882,7 +882,7 @@ static int rawv6_seticmpfilter(struct sock *sk, int level, int optname, | |||
882 | return 0; | 882 | return 0; |
883 | default: | 883 | default: |
884 | return -ENOPROTOOPT; | 884 | return -ENOPROTOOPT; |
885 | }; | 885 | } |
886 | 886 | ||
887 | return 0; | 887 | return 0; |
888 | } | 888 | } |
@@ -907,7 +907,7 @@ static int rawv6_geticmpfilter(struct sock *sk, int level, int optname, | |||
907 | return 0; | 907 | return 0; |
908 | default: | 908 | default: |
909 | return -ENOPROTOOPT; | 909 | return -ENOPROTOOPT; |
910 | }; | 910 | } |
911 | 911 | ||
912 | return 0; | 912 | return 0; |
913 | } | 913 | } |
@@ -961,7 +961,8 @@ static int rawv6_setsockopt(struct sock *sk, int level, int optname, | |||
961 | default: | 961 | default: |
962 | return ipv6_setsockopt(sk, level, optname, optval, | 962 | return ipv6_setsockopt(sk, level, optname, optval, |
963 | optlen); | 963 | optlen); |
964 | }; | 964 | } |
965 | |||
965 | return do_rawv6_setsockopt(sk, level, optname, optval, optlen); | 966 | return do_rawv6_setsockopt(sk, level, optname, optval, optlen); |
966 | } | 967 | } |
967 | 968 | ||
@@ -982,7 +983,7 @@ static int compat_rawv6_setsockopt(struct sock *sk, int level, int optname, | |||
982 | default: | 983 | default: |
983 | return compat_ipv6_setsockopt(sk, level, optname, | 984 | return compat_ipv6_setsockopt(sk, level, optname, |
984 | optval, optlen); | 985 | optval, optlen); |
985 | }; | 986 | } |
986 | return do_rawv6_setsockopt(sk, level, optname, optval, optlen); | 987 | return do_rawv6_setsockopt(sk, level, optname, optval, optlen); |
987 | } | 988 | } |
988 | #endif | 989 | #endif |
@@ -1035,7 +1036,8 @@ static int rawv6_getsockopt(struct sock *sk, int level, int optname, | |||
1035 | default: | 1036 | default: |
1036 | return ipv6_getsockopt(sk, level, optname, optval, | 1037 | return ipv6_getsockopt(sk, level, optname, optval, |
1037 | optlen); | 1038 | optlen); |
1038 | }; | 1039 | } |
1040 | |||
1039 | return do_rawv6_getsockopt(sk, level, optname, optval, optlen); | 1041 | return do_rawv6_getsockopt(sk, level, optname, optval, optlen); |
1040 | } | 1042 | } |
1041 | 1043 | ||
@@ -1056,7 +1058,7 @@ static int compat_rawv6_getsockopt(struct sock *sk, int level, int optname, | |||
1056 | default: | 1058 | default: |
1057 | return compat_ipv6_getsockopt(sk, level, optname, | 1059 | return compat_ipv6_getsockopt(sk, level, optname, |
1058 | optval, optlen); | 1060 | optval, optlen); |
1059 | }; | 1061 | } |
1060 | return do_rawv6_getsockopt(sk, level, optname, optval, optlen); | 1062 | return do_rawv6_getsockopt(sk, level, optname, optval, optlen); |
1061 | } | 1063 | } |
1062 | #endif | 1064 | #endif |