Messages in this thread |  | | From | Geert Uytterhoeven <> | Date | Tue, 29 Dec 2020 14:07:52 +0100 | Subject | Re: [PATCH] sh: kernel: traps: remove unused variable |
| |
On Thu, Dec 10, 2020 at 1:46 PM Anders Roxell <anders.roxell@linaro.org> wrote: > When building defconfig the following warning shows up: > > arch/sh/kernel/traps.c: In function 'nmi_trap_handler': > arch/sh/kernel/traps.c:183:15: warning: unused variable 'cpu' [-Wunused-variable] > unsigned int cpu = smp_processor_id(); > ^~~ > > Remove an unused variable 'cpu'. > > Fixes: fe3f1d5d7cd3 ("sh: Get rid of nmi_count()") > Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
|  |