]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
bpf: Remove unused callee_saved array
authorJoe Stringer <joe@wand.net.nz>
Wed, 14 Feb 2018 21:50:37 +0000 (13:50 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 15 Feb 2018 09:22:55 +0000 (10:22 +0100)
This array appears to be completely unused, remove it.

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
kernel/bpf/verifier.c

index 5fb69a85d9675dcf8a077d20f5314ee78949e884..3c74b163eaeb9733d639633b63607e2c4ccb32af 100644 (file)
@@ -508,10 +508,6 @@ err:
 static const int caller_saved[CALLER_SAVED_REGS] = {
        BPF_REG_0, BPF_REG_1, BPF_REG_2, BPF_REG_3, BPF_REG_4, BPF_REG_5
 };
-#define CALLEE_SAVED_REGS 5
-static const int callee_saved[CALLEE_SAVED_REGS] = {
-       BPF_REG_6, BPF_REG_7, BPF_REG_8, BPF_REG_9
-};
 
 static void __mark_reg_not_init(struct bpf_reg_state *reg);