]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/smp: Remove unused irq variable in arch_show_interrupts()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 15 Dec 2020 10:30:26 +0000 (11:30 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 4 Jan 2021 11:00:07 +0000 (11:00 +0000)
commitbb1958d9b3fecc4f8fb38dc9fb26d9be9756a9dc
treed7b61fc29bf5837b86f509c61c9089cc58d1fe7f
parent7ef47eb101f0dca6dbe94b167f11a8b3cbd1be02
arm64/smp: Remove unused irq variable in arch_show_interrupts()

    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.

Fixes: 8ede7314813b ("arm64/smp: Use irq_desc_kstat_cpu() in arch_show_interrupts()")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20201215103026.2872532-1-geert+renesas@glider.be
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/smp.c