From: Cong Wang Date: Wed, 15 Oct 2014 21:33:22 +0000 (-0700) Subject: ipv4: clean up cookie_v4_check() X-Git-Tag: omap-for-v3.19/prcm-cleanup~58^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=461b74c391c4ec9c766794e158508c357d8952e6;p=pandora-kernel.git ipv4: clean up cookie_v4_check() We can retrieve opt from skb, no need to pass it as a parameter. And opt should always be non-NULL, no need to check. Cc: Krzysztof Kolasa Cc: Eric Dumazet Tested-by: Krzysztof Kolasa Signed-off-by: Cong Wang Signed-off-by: Cong Wang Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed