From: David S. Miller Date: Sat, 19 May 2012 04:51:04 +0000 (-0400) Subject: ipx: Remove spurious NULL checking in ipx_ioctl(). X-Git-Tag: v3.5-rc1~191^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32e9072b92a1c556a303d8d0e0d64feb667e601d;p=pandora-kernel.git ipx: Remove spurious NULL checking in ipx_ioctl(). We already unconditionally dereference 'sk' via lock_sock(sk) earlier in this function, and our caller (sock_do_ioctl()) makes takes similar liberties. Reported-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed