bpf, arm64: Remove unused-but-set function and variable.
authorAlexei Starovoitov <ast@kernel.org>
Wed, 28 May 2025 00:27:04 +0000 (17:27 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 28 May 2025 03:16:57 +0000 (20:16 -0700)
commitc5cebb241e27ed0c3f4c1d2ce63089398e0ed17e
treedcdf1d8403eb47773170bee50ba2a616d27d54f7
parent5ffb537e416ee22dbfb3d552102e50da33fec7f6
bpf, arm64: Remove unused-but-set function and variable.

Remove unused-but-set function and variable to fix the build warning:
   arch/arm64/net/bpf_jit_comp.c: In function 'arch_bpf_trampoline_size':
    2547 |  int nregs, ret;
         |      ^~~~~

Fixes: 9014cf56f13d ("bpf, arm64: Support up to 12 function arguments")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Xu Kuohai <xukuohai@huawei.com>
Link: https://lore.kernel.org/bpf/20250528002704.21197-1-alexei.starovoitov@gmail.com
Closes: https://lore.kernel.org/oe-kbuild-all/202505280643.h0qYcSCM-lkp@intel.com/
arch/arm64/net/bpf_jit_comp.c