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>
This commit is contained in:
committed by
David S. Miller
parent
935e2a26b8
commit
ccbd6a5a4f
@ -522,7 +522,7 @@ static int ethtool_get_rx_ntuple(struct net_device *dev, void __user *useraddr)
|
||||
p += ETH_GSTRING_LEN;
|
||||
num_strings++;
|
||||
goto unknown_filter;
|
||||
};
|
||||
}
|
||||
|
||||
/* now the rest of the filters */
|
||||
switch (fsc->fs.flow_type) {
|
||||
@ -646,7 +646,7 @@ static int ethtool_get_rx_ntuple(struct net_device *dev, void __user *useraddr)
|
||||
p += ETH_GSTRING_LEN;
|
||||
num_strings++;
|
||||
break;
|
||||
};
|
||||
}
|
||||
sprintf(p, "\tVLAN: %d, mask: 0x%x\n",
|
||||
fsc->fs.vlan_tag, fsc->fs.vlan_tag_mask);
|
||||
p += ETH_GSTRING_LEN;
|
||||
|
Reference in New Issue
Block a user