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/sctp/socket.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/sctp/socket.c')
-rw-r--r-- | net/sctp/socket.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index f904f2bc0f2c..11938fb20395 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c | |||
@@ -941,7 +941,7 @@ SCTP_STATIC int sctp_setsockopt_bindx(struct sock* sk, | |||
941 | default: | 941 | default: |
942 | err = -EINVAL; | 942 | err = -EINVAL; |
943 | break; | 943 | break; |
944 | }; | 944 | } |
945 | 945 | ||
946 | out: | 946 | out: |
947 | kfree(kaddrs); | 947 | kfree(kaddrs); |
@@ -3048,7 +3048,7 @@ SCTP_STATIC int sctp_setsockopt(struct sock *sk, int level, int optname, | |||
3048 | default: | 3048 | default: |
3049 | retval = -ENOPROTOOPT; | 3049 | retval = -ENOPROTOOPT; |
3050 | break; | 3050 | break; |
3051 | }; | 3051 | } |
3052 | 3052 | ||
3053 | sctp_release_sock(sk); | 3053 | sctp_release_sock(sk); |
3054 | 3054 | ||
@@ -4873,7 +4873,7 @@ SCTP_STATIC int sctp_getsockopt(struct sock *sk, int level, int optname, | |||
4873 | default: | 4873 | default: |
4874 | retval = -ENOPROTOOPT; | 4874 | retval = -ENOPROTOOPT; |
4875 | break; | 4875 | break; |
4876 | }; | 4876 | } |
4877 | 4877 | ||
4878 | sctp_release_sock(sk); | 4878 | sctp_release_sock(sk); |
4879 | return retval; | 4879 | return retval; |
@@ -5198,7 +5198,8 @@ int sctp_inet_listen(struct socket *sock, int backlog) | |||
5198 | break; | 5198 | break; |
5199 | default: | 5199 | default: |
5200 | break; | 5200 | break; |
5201 | }; | 5201 | } |
5202 | |||
5202 | if (err) | 5203 | if (err) |
5203 | goto cleanup; | 5204 | goto cleanup; |
5204 | 5205 | ||
@@ -5461,7 +5462,7 @@ SCTP_STATIC int sctp_msghdr_parse(const struct msghdr *msg, | |||
5461 | 5462 | ||
5462 | default: | 5463 | default: |
5463 | return -EINVAL; | 5464 | return -EINVAL; |
5464 | }; | 5465 | } |
5465 | } | 5466 | } |
5466 | return 0; | 5467 | return 0; |
5467 | } | 5468 | } |