diff options
author | Rafael Passos <rafael@rcpassos.me> | 2024-06-14 23:24:09 -0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-06-20 19:50:26 -0700 |
commit | ab224b9ef7c4eaa752752455ea79bd7022209d5d (patch) | |
tree | 139b0f1b204218f294d7aeff9cc180616095bd2f /include/linux/bpf.h | |
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 <rafael@rcpassos.me>
Link: https://lore.kernel.org/r/20240615022641.210320-3-rafael@rcpassos.me
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/bpf.h')
-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) |