diff options
| author | Rafael Passos <[email protected]> | 2024-06-14 23:24:09 -0300 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-06-20 19:50:26 -0700 |
| commit | ab224b9ef7c4eaa752752455ea79bd7022209d5d (patch) | |
| tree | 139b0f1b204218f294d7aeff9cc180616095bd2f /include/linux | |
| parent | 9919c5c98cb25dbf7e76aadb9beab55a2a25f830 (diff) | |
bpf: remove unused parameter in __bpf_free_used_btfs
Fixes a compiler warning. The __bpf_free_used_btfs function
was taking an extra unused struct bpf_prog_aux *aux param
Signed-off-by: Rafael Passos <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/bpf.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/bpf.h b/include/linux/bpf.h index f636b4998bf7..960780ef04e1 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h @@ -2933,8 +2933,7 @@ bpf_probe_read_kernel_common(void *dst, u32 size, const void *unsafe_ptr) return ret; } -void __bpf_free_used_btfs(struct bpf_prog_aux *aux, - struct btf_mod_pair *used_btfs, u32 len); +void __bpf_free_used_btfs(struct btf_mod_pair *used_btfs, u32 len); static inline struct bpf_prog *bpf_prog_get_type(u32 ufd, enum bpf_prog_type type) |