From: Guenter Roeck Date: Tue, 30 Sep 2014 16:39:00 +0000 (-0700) Subject: next: mips: bpf: Fix build failure X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=72d099e2571b3b1bcf8cddb917f0cde4e60c354d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git next: mips: bpf: Fix build failure Fix: 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: Guenter Roeck Signed-off-by: David S. Miller --- diff --git a/arch/mips/net/bpf_jit.c b/arch/mips/net/bpf_jit.c index 64ecf9a4e526..7edc08398c4a 100644 --- a/arch/mips/net/bpf_jit.c +++ b/arch/mips/net/bpf_jit.c @@ -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;