projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da0a4e5
)
xtensa: remove unused variable wmask
author
Max Filippov
<jcmvbkbc@gmail.com>
Mon, 23 Aug 2021 04:28:01 +0000
(21:28 -0700)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Tue, 19 Oct 2021 05:19:35 +0000
(22:19 -0700)
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 <jcmvbkbc@gmail.com>
arch/xtensa/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/xtensa/kernel/traps.c
b/arch/xtensa/kernel/traps.c
index
4418438
..
35a7d47
100644
(file)
--- 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);