Re: [PATCH] arm64: smp: remove unused variable

From: Geert Uytterhoeven
Date: Mon Dec 28 2020 - 07:46:57 EST


On Mon, Dec 28, 2020 at 12:55 PM Wolfram Sang
<wsa+renesas@xxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Marc Zyngier <maz@xxxxxxxxxx>

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

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@xxxxxxxxxxxxxx

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