[PATCH] arm64/smp: Remove unused 'irq' variable

Catalin Marinas catalin.marinas at arm.com
Mon Jan 4 06:18:48 EST 2021


On Wed, Dec 30, 2020 at 04:45:04PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
> 
> The only use of this variable was removed in a recent patch:
> 
> arch/arm64/kernel/smp.c:810:16: error: unused variable 'irq' [-Werror,-Wunused-variable]
>                 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: Arnd Bergmann <arnd at arndb.de>

Thanks. I applied Geert's fix already.

-- 
Catalin



More information about the linux-arm-kernel mailing list