diff options
author | Joe Perches <joe@perches.com> | 2010-05-14 06:58:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-17 20:44:35 -0400 |
commit | ccbd6a5a4f76e821ed36f69fdaf59817c3a7f18e (patch) | |
tree | 9fd681809e588913cc312f63ae0e701f18599afc /net/core/ethtool.c | |
parent | 935e2a26b85003c0bd52b6c92712c2f77a5f9d33 (diff) |
net: Remove unnecessary semicolons after switch statements
Also added an explicit break; to avoid
a fallthrough in net/ipv4/tcp_input.c
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/ethtool.c')
-rw-r--r-- | net/core/ethtool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 1a7db92037fa..a0f4964033d2 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c | |||
@@ -522,7 +522,7 @@ static int ethtool_get_rx_ntuple(struct net_device *dev, void __user *useraddr) | |||
522 | p += ETH_GSTRING_LEN; | 522 | p += ETH_GSTRING_LEN; |
523 | num_strings++; | 523 | num_strings++; |
524 | goto unknown_filter; | 524 | goto unknown_filter; |
525 | }; | 525 | } |
526 | 526 | ||
527 | /* now the rest of the filters */ | 527 | /* now the rest of the filters */ |
528 | switch (fsc->fs.flow_type) { | 528 | switch (fsc->fs.flow_type) { |
@@ -646,7 +646,7 @@ static int ethtool_get_rx_ntuple(struct net_device *dev, void __user *useraddr) | |||
646 | p += ETH_GSTRING_LEN; | 646 | p += ETH_GSTRING_LEN; |
647 | num_strings++; | 647 | num_strings++; |
648 | break; | 648 | break; |
649 | }; | 649 | } |
650 | sprintf(p, "\tVLAN: %d, mask: 0x%x\n", | 650 | sprintf(p, "\tVLAN: %d, mask: 0x%x\n", |
651 | fsc->fs.vlan_tag, fsc->fs.vlan_tag_mask); | 651 | fsc->fs.vlan_tag, fsc->fs.vlan_tag_mask); |
652 | p += ETH_GSTRING_LEN; | 652 | p += ETH_GSTRING_LEN; |