Messages in this thread | | | From | Alexei Starovoitov <> | Date | Thu, 26 Mar 2020 16:48:35 -0700 | Subject | Re: [PATCH bpf-next] bpf: remove unused vairable 'bpf_xdp_link_lops' |
| |
On Wed, Mar 25, 2020 at 8:16 PM YueHaibing <yuehaibing@huawei.com> wrote: > > kernel/bpf/syscall.c:2263:34: warning: 'bpf_xdp_link_lops' defined but not used [-Wunused-const-variable=] > static const struct bpf_link_ops bpf_xdp_link_lops; > ^~~~~~~~~~~~~~~~~ > > commit 70ed506c3bbc ("bpf: Introduce pinnable bpf_link abstraction") > involded this unused variable, remove it. > > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Applied. Thanks
| |