From: Max Filippov Date: Mon, 23 Aug 2021 04:28:01 +0000 (-0700) Subject: xtensa: remove unused variable wmask X-Git-Tag: v6.6.17~8897^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=431d1a34dfb6ce0d824ac22fc0f0c67c94123bc7;p=platform%2Fkernel%2Flinux-rpi.git xtensa: remove unused variable wmask After a cleanup the function show_regs doesn't use variable wmask but still computes it. Drop it. Fixes: 8d7e8240e66c ("[XTENSA] Clean up elf-gregset.") Signed-off-by: Max Filippov --- diff --git a/arch/xtensa/kernel/traps.c b/arch/xtensa/kernel/traps.c index 4418438b..35a7d47 100644 --- a/arch/xtensa/kernel/traps.c +++ b/arch/xtensa/kernel/traps.c @@ -464,12 +464,10 @@ void secondary_trap_init(void) void show_regs(struct pt_regs * regs) { - int i, wmask; + int i; show_regs_print_info(KERN_DEFAULT); - wmask = regs->wmask & ~1; - for (i = 0; i < 16; i++) { if ((i % 8) == 0) pr_info("a%02d:", i);