diff options
author | 2017-01-06 20:03:56 +0100 | |
---|---|---|
committer | 2017-01-06 22:18:56 -0500 | |
commit | 986f7cbc510e29c33b7c8c1701a902a752159425 (patch) | |
tree | af9547f6cc0ff0581cec9f35e4ea8ec176640f23 /drivers/net/xen-netfront.c | |
parent | l2tp: make __l2tp_ip*_bind_lookup() parameters 'const' (diff) | |
download | linux-rng-986f7cbc510e29c33b7c8c1701a902a752159425.tar.xz linux-rng-986f7cbc510e29c33b7c8c1701a902a752159425.zip |
l2tp: remove useless NULL check in __l2tp_ip*_bind_lookup()
If "l2tp" was NULL, that'd mean "sk" is NULL too. This can't happen
since "sk" is returned by sk_for_each_bound().
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions