flags is indeed unused. Signed-off-by: Tony Wu <tung7970@xxxxxxxxx> diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index e1c0203..ed1b356 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -1401,7 +1401,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();