Skip to content
Commit 83d7eb29 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4b021628
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment