Skip to content
Snippets Groups Projects
Commit 6fe8308c authored by Luis Gerhorst's avatar Luis Gerhorst
Browse files

[DRAFT,FIX] bpf: Remove unused variables

parent 3e604a6f
No related branches found
No related tags found
No related merge requests found
...@@ -11762,9 +11762,6 @@ static int sanitize_err(struct bpf_verifier_env *env, ...@@ -11762,9 +11762,6 @@ static int sanitize_err(struct bpf_verifier_env *env,
const struct bpf_reg_state *off_reg, const struct bpf_reg_state *off_reg,
const struct bpf_reg_state *dst_reg) const struct bpf_reg_state *dst_reg)
{ {
static const char *err = "pointer arithmetic with it prohibited for !root";
const char *op = BPF_OP(insn->code) == BPF_ADD ? "add" : "sub";
u32 dst = insn->dst_reg, src = insn->src_reg;
struct bpf_insn_aux_data *aux = cur_aux(env); struct bpf_insn_aux_data *aux = cur_aux(env);
   
switch (reason) { switch (reason) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment