summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/traps.c
diff options
context:
space:
mode:
authorTony Wu2015-12-04 12:41:12 +0100
committerRalf Baechle2016-05-13 14:02:15 +0200
commit201233e6b5d8c7adb84e3a718b0cb33f3665fb7c (patch)
treed6c4937e0bea8a241c952db528b75f9d9fef4c35 /arch/mips/kernel/traps.c
parentMIPS: Loongson-3: Introduce CONFIG_LOONGSON3_ENHANCEMENT (diff)
downloadkernel-qcow2-linux-201233e6b5d8c7adb84e3a718b0cb33f3665fb7c.tar.gz
kernel-qcow2-linux-201233e6b5d8c7adb84e3a718b0cb33f3665fb7c.tar.xz
kernel-qcow2-linux-201233e6b5d8c7adb84e3a718b0cb33f3665fb7c.zip
MIPS: traps: remove unused variable
flags is indeed unused. Signed-off-by: Tony Wu <tung7970@gmail.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/11699/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/traps.c')
-rw-r--r--arch/mips/kernel/traps.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 38864dc179ff..f586b8b23f60 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -1353,7 +1353,6 @@ asmlinkage void do_cpu(struct pt_regs *regs)
unsigned long fcr31;
unsigned int cpid;
int status, err;
- unsigned long __maybe_unused flags;
int sig;
prev_state = exception_enter();