bpf: Silence purge_cand_cache build warning.
authorAlexei Starovoitov <ast@kernel.org>
Tue, 7 Dec 2021 01:48:39 +0000 (17:48 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 7 Dec 2021 02:24:34 +0000 (18:24 -0800)
commit29f2e5bd9439445fe14ba8570b1c9a7ad682df84
treeb7c255180e1874eb0a759f743ba077b0a998f244
parentd5284dedccdb9053988278dd30c834d46b8c866d
bpf: Silence purge_cand_cache build warning.

When CONFIG_DEBUG_INFO_BTF_MODULES is not set
the following warning can be seen:
kernel/bpf/btf.c:6588:13: warning: 'purge_cand_cache' defined but not used [-Wunused-function]
Fix it.

Fixes: 1e89106da253 ("bpf: Add bpf_core_add_cands() and wire it into bpf_core_apply_relo_insn().")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211207014839.6976-1-alexei.starovoitov@gmail.com
kernel/bpf/btf.c