提交 631b1e3b 编写于 作者: D Daniel Borkmann 提交者: Alexei Starovoitov

bpf, sparc: remove unused variable

Since fe83963b ("bpf, sparc64: remove ld_abs/ld_ind") it's not
used anymore therefore remove it.
Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
Acked-by: NDavid S. Miller <davem@davemloft.net>
Signed-off-by: NAlexei Starovoitov <ast@kernel.org>
上级 0631b658
...@@ -894,7 +894,6 @@ static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx) ...@@ -894,7 +894,6 @@ static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx)
const int i = insn - ctx->prog->insnsi; const int i = insn - ctx->prog->insnsi;
const s16 off = insn->off; const s16 off = insn->off;
const s32 imm = insn->imm; const s32 imm = insn->imm;
u32 *func;
if (insn->src_reg == BPF_REG_FP) if (insn->src_reg == BPF_REG_FP)
ctx->saw_frame_pointer = true; ctx->saw_frame_pointer = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册