arm64: Remove unused variable in arch_show_interrupts
PATCH 1/1 arm64: Remove unused variable in arch_show_interrupts
Commit 5089bc51f81f ("arm64/smp: Use irq_desc_kstat_cpu() in arch_show_interrupts()") removed the only user of variable irq. Remove the unused variable.
--- arch/arm64/kernel/smp.c | 1 - 1 file changed, 1 deletion(-)
arch/arm64/kernel/smp.c +0 -1
@@ -807,7 +807,6 @@ int arch_show_interrupts(struct seq_file *p, int prec)unsigned int cpu, i;for (i =0 ; i <NR_IPI ; i++) { -unsigned int irq =irq_desc_get_irq (ipi_desc[i]);seq_printf (p,"%*s%u:%s" , prec -1 ,"IPI" , i, prec >=4 ?" " :"" );for_each_online_cpu (cpu)
Signature · 1 line
2.29.2.729.g45daf8777d-goog
Catalin Marinas
maintainerQuoted 5 lines · David Brazdil
Commit
5089bc51f81f("arm64/smp: Useirq_desc_kstat_cpu()inarch_show_interrupts()") removed the only user of variableirq. Remove the unused variable.Signed-off-by David Brazdil <[email protected]>
Please search the list for similar patches. I can count 5-6 and the number is growing ;) (and I queued one already).
Signature · 1 line
Catalin
Quoted 9 lines · Catalin Marinas
Quoted 5 lines · David Brazdil
Commit
5089bc51f81f("arm64/smp: Useirq_desc_kstat_cpu()inarch_show_interrupts()") removed the only user of variableirq. Remove the unused variable.Signed-off-by David Brazdil <[email protected]>Please search the list for similar patches. I can count 5-6 and the number is growing ;) (and I queued one already).
Sorry, my bad. Need to get my email client out of the kvmarm list once in a while. O:)