Skip to content
Commit ac8acec9 authored by Nathan Chancellor's avatar Nathan Chancellor Committed by Alexei Starovoitov
Browse files

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 b07ade27

 ("bpf:
pass translate() as a callback and remove its ndo_bpf subcommand").

Signed-off-by: default avatarNathan Chancellor <natechancellor@gmail.com>
Acked-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: default avatarQuentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent a83d6e76
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment