MIPS: traps: remove unused variable
authorTony Wu <tung7970@gmail.com>
Fri, 4 Dec 2015 11:41:12 +0000 (19:41 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:02:15 +0000 (14:02 +0200)
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>
arch/mips/kernel/traps.c

index 38864dc179ffe74cece1c5ad5ac7d6c06644e93d..f586b8b23f60dc7748e8e3d2a02eac315490ab16 100644 (file)
@@ -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();