diff options
author | Cong Wang <cwang@twopensource.com> | 2014-10-15 21:33:22 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-17 16:02:57 (GMT) |
commit | 461b74c391c4ec9c766794e158508c357d8952e6 (patch) | |
tree | 19cfb1a79b6dc5c9141022985c3917fc2d90b7a1 /net/ipv4/ip_output.c | |
parent | e25f866fbc8a4bf387b5dbe8e25aa5b07e55c74f (diff) | |
download | linux-461b74c391c4ec9c766794e158508c357d8952e6.tar.xz |
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 'net/ipv4/ip_output.c')
0 files changed, 0 insertions, 0 deletions