]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitf482f2fcd1bd644849bd75412d589cbb40fbaa01
treeff7b1a0bfc134a633f75b67a9cfd290554609710
parent2cc33c7e319c10b4e169050b3e21908531b09bf9
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