Commit 72d099e2 authored by Guenter Roeck's avatar Guenter Roeck Committed by David S. Miller
Browse files

next: mips: bpf: Fix build failure


arch/mips/net/bpf_jit.c: In function 'build_body':
arch/mips/net/bpf_jit.c:762:6: error: unused variable 'tmp'
cc1: all warnings being treated as errors
make[2]: *** [arch/mips/net/bpf_jit.o] Error 1

Seen when building mips:allmodconfig in -next since next-20140924.
Signed-off-by: default avatarGuenter Roeck <>
Signed-off-by: default avatarDavid S. Miller <>
parent 9ba10afe
......@@ -772,7 +772,6 @@ static int build_body(struct jit_ctx *ctx)
const struct sock_filter *inst;
unsigned int i, off, load_order, condt;
u32 k, b_off __maybe_unused;
int tmp;
for (i = 0; i < prog->len; i++) {
u16 code;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment