Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bpf: Cleanup unused function declaration

All usage and the definition of `bpf_prog_free_linfo()` has been removed
in commit e16301fbe183 ("bpf: Simplify freeing logic in linfo and
jited_linfo"). Clean up its declaration in the header file.

Signed-off-by: Ruiqi Gong <gongruiqi@huaweicloud.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/all/20230602030842.279262-1-gongruiqi@huaweicloud.com/
Link: https://lore.kernel.org/bpf/20230606021047.170667-1-gongruiqi@huaweicloud.com

authored by

Ruiqi Gong and committed by
Daniel Borkmann
aa618270 3d272c2f

-1
-1
include/linux/filter.h
··· 874 874 875 875 bool bpf_opcode_in_insntable(u8 code); 876 876 877 - void bpf_prog_free_linfo(struct bpf_prog *prog); 878 877 void bpf_prog_fill_jited_linfo(struct bpf_prog *prog, 879 878 const u32 *insn_to_jit_off); 880 879 int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog);