OpenCloudOS-Kernel/drivers/net/netdevsim
Nathan Chancellor ac8acec991 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 b07ade27e9 ("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>
2018-11-16 17:51:13 -08:00
..
Makefile netdevsim: add ipsec offload testing 2018-06-28 16:10:08 +09:00
bpf.c bpf: Remove unused variable in nsim_bpf 2018-11-16 17:51:13 -08:00
devlink.c netdevsim: don't leak devlink resources 2018-07-25 22:33:39 -07:00
fib.c netdevsim: Add extack error message for devlink reload 2018-06-05 12:32:37 -04:00
ipsec.c netdevsim: fix sa_idx out of bounds check 2018-07-02 20:35:33 +09:00
netdev.c netdevsim: make debug dirs' dentries static 2018-07-26 21:28:54 -07:00
netdevsim.h netdevsim: make debug dirs' dentries static 2018-07-26 21:28:54 -07:00