diff options
author | Ruiqi Gong <gongruiqi@huaweicloud.com> | 2023-06-06 10:10:47 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-06-06 17:05:21 +0200 |
commit | aa6182707a53c5e4df7b3da7ba4faa7e29dc71a0 (patch) | |
tree | 24db6b21b6e10ccdc6e5cb7071eafb615864255f | |
parent | 3d272c2fa8045f31879a3beee230c1711367b697 (diff) | |
download | linux-stable-aa6182707a53c5e4df7b3da7ba4faa7e29dc71a0.tar.gz linux-stable-aa6182707a53c5e4df7b3da7ba4faa7e29dc71a0.tar.bz2 linux-stable-aa6182707a53c5e4df7b3da7ba4faa7e29dc71a0.zip |
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
-rw-r--r-- | include/linux/filter.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/filter.h b/include/linux/filter.h index bbce89937fde..f69114083ec7 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -874,7 +874,6 @@ void bpf_prog_free(struct bpf_prog *fp); bool bpf_opcode_in_insntable(u8 code); -void bpf_prog_free_linfo(struct bpf_prog *prog); void bpf_prog_fill_jited_linfo(struct bpf_prog *prog, const u32 *insn_to_jit_off); int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog); |