projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0631b65
)
bpf, sparc: remove unused variable
author
Daniel Borkmann
<
[email protected]
>
Mon, 14 May 2018 21:22:28 +0000
(23:22 +0200)
committer
Alexei Starovoitov
<
[email protected]
>
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 <
[email protected]
>
Acked-by: David S. Miller <
[email protected]
>
Signed-off-by: Alexei Starovoitov <
[email protected]
>
arch/sparc/net/bpf_jit_comp_64.c
patch
|
blob
|
history
diff --git
a/arch/sparc/net/bpf_jit_comp_64.c
b/arch/sparc/net/bpf_jit_comp_64.c
index 9f5918e0693a1a93b19f6e9e82e663af04de92f3..222785af550b46736676808b6e00d8d8cef9a286 100644
(file)
--- a/
arch/sparc/net/bpf_jit_comp_64.c
+++ b/
arch/sparc/net/bpf_jit_comp_64.c
@@
-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;