commit | ccbd6a5a4f76e821ed36f69fdaf59817c3a7f18e | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Fri May 14 10:58:26 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon May 17 17:44:35 2010 -0700 |
tree | 9fd681809e588913cc312f63ae0e701f18599afc | |
parent | 935e2a26b85003c0bd52b6c92712c2f77a5f9d33 [diff] [blame] |
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>
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 3284393..6596b4f 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c
@@ -2215,7 +2215,7 @@ default: /* fallthru */ break; - }; + } if (optlen < sizeof(int)) return -EINVAL;