From: Dan Carpenter Date: Fri, 30 Apr 2010 23:42:08 +0000 (-0700) Subject: ipv6: cleanup: remove unneeded null check X-Git-Tag: v2.6.35-rc1~473^2~298 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83d7eb2979cd3390c375470225dd2d8f2009bc70;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed