aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-11-12 17:10:42 -0500
committerAlexei Starovoitov <ast@kernel.org>2018-11-16 20:51:13 -0500
commitac8acec9912a93be9953446766e0bb73aeeecc64 (patch)
tree1a10ca37e122a46276ff246ae2ee6259a4b5b670 /tools/bpf/bpftool/prog.c
parenta83d6e76a67424ebbbbed643f51e97934ffc2bc2 (diff)
bpf: Remove unused variable in nsim_bpf
Clang warns: drivers/net/netdevsim/bpf.c:557:30: error: unused variable 'state' [-Werror,-Wunused-variable] struct nsim_bpf_bound_prog *state; ^ 1 error generated. The declaration should have been removed in commit b07ade27e933 ("bpf: pass translate() as a callback and remove its ndo_bpf subcommand"). Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions