xtensa: remove unused variable wmask
After a cleanup the function show_regs doesn't use variable wmask but
still computes it. Drop it.
Fixes: 8d7e8240e6
("[XTENSA] Clean up elf-gregset.")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
da0a4e5c8f
commit
431d1a34df
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue