]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: remove the never used 'return' and redundant 'break'
authorwangweidong <wangweidong1@huawei.com>
Thu, 19 Dec 2013 02:02:42 +0000 (10:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Dec 2013 23:56:51 +0000 (18:56 -0500)
commit4ee2c43c6c7e56c1538ee9a20a0e20da9db42734
treeff7b1a0bfc134a633f75b67a9cfd290554609710
parentcb74e11bde10c34059a323e80991e39f8b9d913d
sctp: remove the never used 'return' and redundant 'break'

In switch() had do return, and never use the 'return NULL'. The
'break' after return or goto has no effect. Remove it.

v2: make it more readable as suggested by Neil.

Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/input.c