aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/8390/pcnet_cs.c
diff options
context:
space:
mode:
authorwangweidong <wangweidong1@huawei.com>2013-12-11 16:42:14 +0800
committerDavid S. Miller <davem@davemloft.net>2013-12-11 15:39:34 -0500
commite47726683803616c773bc75c88cfb3eb54a8172b (patch)
treed0da5be3f278ed91223f6a7c4bfac30977fa686a /drivers/net/ethernet/8390/pcnet_cs.c
parentsch_htb: remove unnecessary NULL pointer judgment (diff)
downloadlinux-dev-e47726683803616c773bc75c88cfb3eb54a8172b.tar.xz
linux-dev-e47726683803616c773bc75c88cfb3eb54a8172b.zip
sctp: remove redundant null check on asoc
In sctp_err_lookup, goto out while the asoc is not NULL, so remove the check NULL. Also, in sctp_err_finish which called by sctp_v4_err and sctp_v6_err, they pass asoc to sctp_err_finish while the asoc is not NULL, so remove the check. Signed-off-by: Wang Weidong <wangweidong1@huawei.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Acked-by: Vlad Yasevich <vyasevich@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/8390/pcnet_cs.c')
0 files changed, 0 insertions, 0 deletions