* [PATCH] next: mips: bpf: Fix build failure
@ 2014-09-30 16:39 Guenter Roeck
2014-09-30 20:59 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2014-09-30 16:39 UTC (permalink / raw)
To: Ralf Baechle
Cc: David S. Miller, linux-mips, netdev, linux-kernel,
Stephen Rothwell, Guenter Roeck
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 <linux@roeck-us.net>
---
arch/mips/net/bpf_jit.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/mips/net/bpf_jit.c b/arch/mips/net/bpf_jit.c
index 7561833..9b55143 100644
--- a/arch/mips/net/bpf_jit.c
+++ b/arch/mips/net/bpf_jit.c
@@ -759,7 +759,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;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-30 20:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-30 16:39 [PATCH] next: mips: bpf: Fix build failure Guenter Roeck
2014-09-30 20:59 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox