OSDN Git Service

bpf, sparc: remove unused variable
authorDaniel Borkmann <daniel@iogearbox.net>
Mon, 14 May 2018 21:22:28 +0000 (23:22 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 15 May 2018 02:11:45 +0000 (19:11 -0700)
Since fe83963b7c38 ("bpf, sparc64: remove ld_abs/ld_ind") it's not
used anymore therefore remove it.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/sparc/net/bpf_jit_comp_64.c

index 9f5918e..222785a 100644 (file)
@@ -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 s16 off = insn->off;
        const s32 imm = insn->imm;
-       u32 *func;
 
        if (insn->src_reg == BPF_REG_FP)
                ctx->saw_frame_pointer = true;