mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
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>
This commit is contained in:
parent
0a67487403
commit
544bdebc6f
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user