[PATCH] arm64/smp: Remove unused irq variable in arch_show_interrupts()

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


On Tue, 15 Dec 2020 11:30:26 +0100, Geert Uytterhoeven wrote:
>     arch/arm64/kernel/smp.c: In function ‘arch_show_interrupts’:
>     arch/arm64/kernel/smp.c:808:16: warning: unused variable ‘irq’ [-Wunused-variable]
>       808 |   unsigned int irq = irq_desc_get_irq(ipi_desc[i]);
> 	  |                ^~~
> 
> The removal of the last user forgot to remove the variable.

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64/smp: Remove unused irq variable in arch_show_interrupts()
      https://git.kernel.org/arm64/c/42e85f90171a

Also adjusted the Fixes tag (before seeing that you posted a v2).

-- 
Catalin




More information about the linux-arm-kernel mailing list