[PATCH] arm: smp: remove unused variable

Geert Uytterhoeven geert at linux-m68k.org
Tue Jan 26 05:04:47 EST 2021


Hi Wolfram,

On Mon, Dec 28, 2020 at 1:03 PM Wolfram Sang
<wsa+renesas at sang-engineering.com> wrote:
> Not used anymore after refactoring:
>
> arch/arm/kernel/smp.c: In function ‘show_ipi_list’:
> arch/arm/kernel/smp.c:543:16: warning: variable ‘irq’ set but not used [-Wunused-but-set-variable]
>   543 |   unsigned int irq;
>
> Fixes: 88c637748e31 ("ARM: smp: Use irq_desc_kstat_cpu() in show_ipi_list()")
> Signed-off-by: Wolfram Sang <wsa+renesas at sang-engineering.com>
> Cc: Thomas Gleixner <tglx at linutronix.de>
> Cc: Marc Zyngier <maz at kernel.org>

Known issue since Dec 15, and still not fixed...

Reviewed-by: Geert Uytterhoeven <geert+renesas at glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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



More information about the linux-arm-kernel mailing list