aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-04-30 23:42:08 +0000
committerDavid S. Miller <[email protected]>2010-04-30 23:42:08 +0000
commit83d7eb2979cd3390c375470225dd2d8f2009bc70 (patch)
tree9f387e28439c113772af962c1b6da9a1f7731f32 /net/unix/af_unix.c
parentxfrm: potential uninitialized variable num_xfrms (diff)
downloadkernel-83d7eb2979cd3390c375470225dd2d8f2009bc70.tar.gz
kernel-83d7eb2979cd3390c375470225dd2d8f2009bc70.zip
ipv6: cleanup: remove unneeded null check
We dereference "sk" unconditionally elsewhere in the function. This was left over from: b30bd282 "ip6_xmit: remove unnecessary NULL ptr check". According to that commit message, "the sk argument to ip6_xmit is never NULL nowadays since the skb->priority assigment expects a valid socket." Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions