]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6b8fdb605ae93867a0a30f5cb0601442c42ba08
treee9a067fbabe1a021b11ed2fc427f1dc5003cfb22
parentfea517d26d54b64b9b007936d4bba10f98456294
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