aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_netlink.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-10-30 13:46:47 -0700
committerDavid S. Miller <davem@davemloft.net>2017-10-31 09:18:04 +0900
commitaa2bc739ef4a181a7589eb009be96a870cc1788f (patch)
treee5108eb9540716c493efef696228da791bee0b89 /net/l2tp/l2tp_netlink.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadlinux-dev-aa2bc739ef4a181a7589eb009be96a870cc1788f.tar.xz
linux-dev-aa2bc739ef4a181a7589eb009be96a870cc1788f.zip
net: filter: remove unused variable and fix warning
bpf_getsockopt bpf call sets the ret variable to zero and never changes it. What's worse in case CONFIG_INET is not selected the variable is completely unused generating a warning. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Acked-by: Lawrence Brakmo <brakmo@fb.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_netlink.c')
0 files changed, 0 insertions, 0 deletions