Commit 431d1a34 authored by Max Filippov's avatar Max Filippov

xtensa: remove unused variable wmask

After a cleanup the function show_regs doesn't use variable wmask but
still computes it. Drop it.

Fixes: 8d7e8240 ("[XTENSA] Clean up elf-gregset.")
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent da0a4e5c
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment