diff options
author | YueHaibing <[email protected]> | 2020-03-26 11:16:13 +0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-03-26 16:46:32 -0700 |
commit | f54a5bba120398e4d404e9553e6b92e6822eade0 (patch) | |
tree | a195a736c2323619e3d5a2bd52f05b387fbd846a /lib/test-string_helpers.c | |
parent | e28784e3781e19f546bd2c2cd7c1c4e7c54e7f73 (diff) |
bpf: Remove unused vairable 'bpf_xdp_link_lops'
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 <[email protected]>
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions