]> git.ipfire.org Git - thirdparty/linux.git/commit
bpf: Remove unused backtrack_state helper functions
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 12 Dec 2023 00:54:36 +0000 (08:54 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 12 Dec 2023 17:52:07 +0000 (09:52 -0800)
commit56c26d5ad86dfe48a76855a91b523ab4f372c003
tree4faf507a12b0dd6209e75b4b9b82a32d901c2111
parentf77d795618b92ac6fdb43de0d4036c6ce49f0b82
bpf: Remove unused backtrack_state helper functions

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@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/bpf/20231212005436.103829-1-yang.lee@linux.alibaba.com
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7714
kernel/bpf/verifier.c