summaryrefslogtreecommitdiffstats
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorCong Wang <cwang@twopensource.com>2014-10-15 14:33:22 -0700
committerDavid S. Miller <davem@davemloft.net>2014-10-17 12:02:57 -0400
commit461b74c391c4ec9c766794e158508c357d8952e6 (patch)
tree19cfb1a79b6dc5c9141022985c3917fc2d90b7a1 /mm/mm_init.c
parente25f866fbc8a4bf387b5dbe8e25aa5b07e55c74f (diff)
downloadop-kernel-dev-461b74c391c4ec9c766794e158508c357d8952e6.zip
op-kernel-dev-461b74c391c4ec9c766794e158508c357d8952e6.tar.gz
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 <kkolasa@winsoft.pl> Cc: Eric Dumazet <edumazet@google.com> Tested-by: Krzysztof Kolasa <kkolasa@winsoft.pl> Signed-off-by: Cong Wang <cwang@twopensource.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud