sctp: remove dup code in net/sctp/socket.c
commitd212318c9d1b11ff44b57f90b4f9d9c9b31a6ced
authorWei Yongjun <yjwei@cn.fujitsu.com>
Mon, 2 Mar 2009 09:46:11 +0000 (2 09:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2009 06:49:16 +0000 (2 22:49 -0800)
treef3da90f6ecf7b085e546566503a445df26d91b60
parent906f8257eedf64c9f4da0adfacca76d06d8e8cb0
sctp: remove dup code in net/sctp/socket.c

Remove dup check of "if (optlen < sizeof(int))".

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c