diff options
author | Dave Jones <davej@codemonkey.org.uk> | 2016-12-28 11:53:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-29 12:05:49 -0500 |
commit | de8499cee59465cfa6135591d665a065539d456b (patch) | |
tree | 90eb087c9d14608f00b4888126dc8b564b8e1bfd /drivers/atm | |
parent | 9eb12474787d32a968b5b01ecbf83acd2d230b25 (diff) | |
download | linux-de8499cee59465cfa6135591d665a065539d456b.tar.gz linux-de8499cee59465cfa6135591d665a065539d456b.tar.bz2 linux-de8499cee59465cfa6135591d665a065539d456b.zip |
ipv6: remove unnecessary inet6_sk check
np is already assigned in the variable declaration of ping_v6_sendmsg.
At this point, we have already dereferenced np several times, so the
NULL check is also redundant.
Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions