[PATCH] arm64: smp: remove unused variable

Geert Uytterhoeven geert at linux-m68k.org
Mon Dec 28 07:39:07 EST 2020


On Mon, Dec 28, 2020 at 12:55 PM Wolfram Sang
<wsa+renesas at sang-engineering.com> wrote:
> Not used anymore after refactoring:
>
> arch/arm64/kernel/smp.c: In function ‘arch_show_interrupts’:
> arch/arm64/kernel/smp.c:810:16: warning: unused variable ‘irq’ [-Wunused-variable]
>   810 |   unsigned int irq = irq_desc_get_irq(ipi_desc[i]);
>
> Fixes: 5089bc51f81f ("arm64/smp: Use irq_desc_kstat_cpu() in arch_show_interrupts()")
> 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>

Fix sent 13 days ago:
https://lore.kernel.org/linux-arm-kernel/20201215103026.2872532-1-geert+renesas@glider.be/

Note that the Fixes tag in my patch is different, as apparently the
offending commit was rebased a few hours later.

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