bpf: remove unused parameter in bpf_jit_binary_pack_finalize
Fixes a compiler warning. the bpf_jit_binary_pack_finalize function was taking an extra bpf_prog parameter that went unused. This removves it and updates the callers accordingly. Signed-off-by:Rafael Passos <rafael@rcpassos.me> Link: https://lore.kernel.org/r/20240615022641.210320-2-rafael@rcpassos.me Signed-off-by:
Alexei Starovoitov <ast@kernel.org>
Showing
- arch/arm64/net/bpf_jit_comp.c 1 addition, 2 deletionsarch/arm64/net/bpf_jit_comp.c
- arch/powerpc/net/bpf_jit_comp.c 2 additions, 2 deletionsarch/powerpc/net/bpf_jit_comp.c
- arch/riscv/net/bpf_jit_core.c 2 additions, 3 deletionsarch/riscv/net/bpf_jit_core.c
- arch/x86/net/bpf_jit_comp.c 2 additions, 2 deletionsarch/x86/net/bpf_jit_comp.c
- include/linux/filter.h 1 addition, 2 deletionsinclude/linux/filter.h
- kernel/bpf/core.c 1 addition, 2 deletionskernel/bpf/core.c
Please register or sign in to comment