sctp: merge two if statements to one
authorwangweidong <wangweidong1@huawei.com>
Sat, 26 Oct 2013 08:06:32 +0000 (16:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Oct 2013 05:02:34 +0000 (01:02 -0400)
commit747edc0f9ea6041128fe5ff8dda57634feb2a723
treee9a067fbabe1a021b11ed2fc427f1dc5003cfb22
parent3dc0a548a096c67e91ef3d8f6ca39466058b1725
sctp: merge two if statements to one

Two if statements do the same work, we can merge them to
one. And fix some typos. There is just code simplification,
no functional changes.

Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/auth.c