summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorDave Jones2016-12-28 17:53:18 +0100
committerDavid S. Miller2016-12-29 18:05:49 +0100
commitde8499cee59465cfa6135591d665a065539d456b (patch)
tree90eb087c9d14608f00b4888126dc8b564b8e1bfd /samples
parentstmmac: enable rx queues (diff)
downloadkernel-qcow2-linux-de8499cee59465cfa6135591d665a065539d456b.tar.gz
kernel-qcow2-linux-de8499cee59465cfa6135591d665a065539d456b.tar.xz
kernel-qcow2-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 'samples')
0 files changed, 0 insertions, 0 deletions