]> git.proxmox.com Git - mirror_iproute2.git/commit
lib/bpf: fix build warning if no elf
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 10 Dec 2018 21:50:17 +0000 (13:50 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 10 Dec 2018 21:50:17 +0000 (13:50 -0800)
commit33fde2b60081ed9ac16f7dd81c48233803855689
tree00ea89560eb63c4510ec30979cda5dd28500a082
parent79940533c0e6f2686caf0d600996ed7bedf884a5
lib/bpf: fix build warning if no elf

Function was not used unlesss HAVE_ELF causing:

bpf.c:105:13: warning: ‘bpf_map_offload_neutral’ defined but not used [-Wunused-function]

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/bpf.c