diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-09-30 16:39:00 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-30 20:54:51 (GMT) |
commit | 72d099e2571b3b1bcf8cddb917f0cde4e60c354d (patch) | |
tree | 99ea13af4e8ff1f4305164a6903311cb62e1f2a9 /arch/mips/net/bpf_jit.c | |
parent | 9ba10afe3202aaf3ace1e696ff017d0c0bf4e7a9 (diff) | |
download | linux-72d099e2571b3b1bcf8cddb917f0cde4e60c354d.tar.xz |
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 <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/mips/net/bpf_jit.c')
-rw-r--r-- | arch/mips/net/bpf_jit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/net/bpf_jit.c b/arch/mips/net/bpf_jit.c index 64ecf9a..7edc083 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; |