aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJoe Stringer <joe@wand.net.nz>2018-02-14 13:50:37 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2018-02-15 10:22:55 +0100
commit544bdebc6fcb68c2e8075bc2d3b68e39789d4165 (patch)
tree13fe37577e91a1b80d7ae5e9c733ed236a1b748b /kernel
parentselftests/bpf: Only run tests if !bpf_disabled (diff)
downloadlinux-dev-544bdebc6fcb68c2e8075bc2d3b68e39789d4165.tar.xz
linux-dev-544bdebc6fcb68c2e8075bc2d3b68e39789d4165.zip
bpf: Remove unused callee_saved array
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/bpf/verifier.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c
index 5fb69a85d967..3c74b163eaeb 100644
--- a/kernel/bpf/verifier.c
+++ b/kernel/bpf/verifier.c
@@ -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);