aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/pktgen.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/core/pktgen.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/core/pktgen.c')
-rw-r--r--net/core/pktgen.c6
1 files changed, 3 insertions, 3 deletions
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 }
791done: 791done:
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 }
834done_str: 834done_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}