diff options
author | Dan Carpenter <error27@gmail.com> | 2010-04-30 16:42:08 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-30 16:42:08 -0700 |
commit | 83d7eb2979cd3390c375470225dd2d8f2009bc70 (patch) | |
tree | 9f387e28439c113772af962c1b6da9a1f7731f32 /net/rxrpc | |
parent | 4b021628beb26238087812829cc080da47e4b236 (diff) | |
download | kernel-common-83d7eb2979cd3390c375470225dd2d8f2009bc70.tar.gz kernel-common-83d7eb2979cd3390c375470225dd2d8f2009bc70.tar.bz2 kernel-common-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 <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions