lkml.org 
[lkml]   [2023]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] bpf: cleanup unused function declaration
From
On 06/02, GONG, Ruiqi wrote:
> 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: GONG, Ruiqi <gongruiqi@huaweicloud.com>

Acked-by: Stanislav Fomichev <sdf@google.com>

> ---
> include/linux/filter.h | 1 -
> 1 file changed, 1 deletion(-)
>
> 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);
> --
> 2.25.1
>

\
 
 \ /
  Last update: 2023-06-02 18:15    [W:0.050 / U:2.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site