On Tue, 2023-12-12 at 08:54 +0800, Yang Li wrote: > The function are defined in the verifier.c file, but not called > elsewhere, so delete the unused function. > > kernel/bpf/verifier.c:3448:20: warning: unused function 'bt_set_slot' > kernel/bpf/verifier.c:3453:20: warning: unused function 'bt_clear_slot' > kernel/bpf/verifier.c:3488:20: warning: unused function 'bt_is_slot_set' > > Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx> > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7714 > Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx> These are unused indeed. Looks like calls to these functions were removed in commit: 41f6f64e6999 ("bpf: support non-r10 register spill/fill to/from stack in precision tracking") Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx>