Skip to content

Commit

Permalink
bpf: Remove unused callee_saved array
Browse files Browse the repository at this point in the history
This array appears to be completely unused, remove it.

Signed-off-by: Joe Stringer <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
  • Loading branch information
joestringer authored and borkmann committed Feb 15, 2018
1 parent 0a67487 commit 544bdeb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions kernel/bpf/verifier.c
Original file line number Diff line number Diff line change
Expand Up @@ -508,10 +508,6 @@ static struct bpf_verifier_state *push_stack(struct bpf_verifier_env *env,
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);

Expand Down

0 comments on commit 544bdeb

Please sign in to comment.