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/core | |
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/core')
-rw-r--r-- | net/core/link_watch.c | 2 | ||||
-rw-r--r-- | net/core/pktgen.c | 6 | ||||
-rw-r--r-- | net/core/rtnetlink.c | 2 | ||||
-rw-r--r-- | net/core/skbuff.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/net/core/link_watch.c b/net/core/link_watch.c index 8b45c9d3b249..e3c26a9ccad6 100644 --- a/net/core/link_watch.c +++ b/net/core/link_watch.c | |||
@@ -79,7 +79,7 @@ static void rfc2863_policy(struct net_device *dev) | |||
79 | case IF_LINK_MODE_DEFAULT: | 79 | case IF_LINK_MODE_DEFAULT: |
80 | default: | 80 | default: |
81 | break; | 81 | break; |
82 | }; | 82 | } |
83 | 83 | ||
84 | dev->operstate = operstate; | 84 | dev->operstate = operstate; |
85 | 85 | ||
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index f9469ea530cc..b92a322872a8 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c | |||
@@ -786,7 +786,7 @@ static int count_trail_chars(const char __user * user_buffer, | |||
786 | break; | 786 | break; |
787 | default: | 787 | default: |
788 | goto done; | 788 | goto done; |
789 | }; | 789 | } |
790 | } | 790 | } |
791 | done: | 791 | done: |
792 | return i; | 792 | return i; |
@@ -829,7 +829,7 @@ static int strn_len(const char __user * user_buffer, unsigned int maxlen) | |||
829 | break; | 829 | break; |
830 | default: | 830 | default: |
831 | break; | 831 | break; |
832 | }; | 832 | } |
833 | } | 833 | } |
834 | done_str: | 834 | done_str: |
835 | return i; | 835 | return i; |
@@ -1906,7 +1906,7 @@ static int pktgen_device_event(struct notifier_block *unused, | |||
1906 | case NETDEV_UNREGISTER: | 1906 | case NETDEV_UNREGISTER: |
1907 | pktgen_mark_device(dev->name); | 1907 | pktgen_mark_device(dev->name); |
1908 | break; | 1908 | break; |
1909 | }; | 1909 | } |
1910 | 1910 | ||
1911 | return NOTIFY_DONE; | 1911 | return NOTIFY_DONE; |
1912 | } | 1912 | } |
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index bc95fab0b0ce..75cea8ea4cf3 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c | |||
@@ -399,7 +399,7 @@ static void set_operstate(struct net_device *dev, unsigned char transition) | |||
399 | operstate == IF_OPER_UNKNOWN) | 399 | operstate == IF_OPER_UNKNOWN) |
400 | operstate = IF_OPER_DORMANT; | 400 | operstate = IF_OPER_DORMANT; |
401 | break; | 401 | break; |
402 | }; | 402 | } |
403 | 403 | ||
404 | if (dev->operstate != operstate) { | 404 | if (dev->operstate != operstate) { |
405 | write_lock_bh(&dev_base_lock); | 405 | write_lock_bh(&dev_base_lock); |
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 6b50d58cce1e..142257307fa2 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -304,7 +304,7 @@ void kfree_skbmem(struct sk_buff *skb) | |||
304 | if (atomic_dec_and_test(fclone_ref)) | 304 | if (atomic_dec_and_test(fclone_ref)) |
305 | kmem_cache_free(skbuff_fclone_cache, other); | 305 | kmem_cache_free(skbuff_fclone_cache, other); |
306 | break; | 306 | break; |
307 | }; | 307 | } |
308 | } | 308 | } |
309 | 309 | ||
310 | /** | 310 | /** |