Skip to content

Commit 431d1a3

Browse files
committed
xtensa: remove unused variable wmask
After a cleanup the function show_regs doesn't use variable wmask but still computes it. Drop it. Fixes: 8d7e824 ("[XTENSA] Clean up elf-gregset.") Signed-off-by: Max Filippov <[email protected]>
1 parent da0a4e5 commit 431d1a3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

arch/xtensa/kernel/traps.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -464,12 +464,10 @@ void secondary_trap_init(void)
464464

465465
void show_regs(struct pt_regs * regs)
466466
{
467-
int i, wmask;
467+
int i;
468468

469469
show_regs_print_info(KERN_DEFAULT);
470470

471-
wmask = regs->wmask & ~1;
472-
473471
for (i = 0; i < 16; i++) {
474472
if ((i % 8) == 0)
475473
pr_info("a%02d:", i);

0 commit comments

Comments
 (0)