irqchip: ath79: remove unused function
PATCH 1/1 irqchip: ath79: remove unused function
It seems ath79_cpu_irq_init was used a long time ago before the OF code was written for it. Remove to avoid a no previous prototype error for this unused function.
--- drivers/irqchip/irq-ath79-cpu.c | 7 ------- 1 file changed, 7 deletions(-)
drivers/irqchip/irq-ath79-cpu.c +0 -7
@@ -85,10 +85,3 @@ static int __init ar79_cpu_intc_of_init( }IRQCHIP_DECLARE (ar79_cpu_intc,"qca,ar7100-cpu-intc" , ar79_cpu_intc_of_init); - -void __init ath79_cpu_irq_init (unsigned irq_wb_chan2,unsigned irq_wb_chan3) -{ - irq_wb_chan[2 ] = irq_wb_chan2; - irq_wb_chan[3 ] = irq_wb_chan3; -mips_cpu_irq_init (); -}
Signature · 1 line
2.54.0
Thomas Gleixner
maintainerOn Tue, May 05 2026 at 00:50, Rosen Penev wrote:
Please use the proper subsystem prefix as documented:
https://www.kernel.org/doc/html/latest/process/maintainer-tip.html
Quoted 1 line
It seems
ath79_cpu_irq_initwas used a long time ago before the OF code
It seems? Either it is or not.
Also please find and describe the commit which removed the usage and failed to remove the function.
Thanks,
tglx
Quoted 5 lines · Thomas Gleixner
On Tue, May 05 2026 at 00:50, Rosen Penev wrote:
Please use the proper subsystem prefix as documented:
Quoted 8 lines
https://www.kernel.org/doc/html/latest/process/maintainer-tip.html
Quoted 1 line
It seems
ath79_cpu_irq_initwas used a long time ago before the OF codeIt seems? Either it is or not.
Also please find and describe the commit which removed the usage and failed to remove the function.
Ah hah. Found where it stopped being used:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=51fa4f8912c0934cf1410f435516d2abbcf88a9e
Found from https://lore.kernel.org/all/[email protected]/
which seems to have never been fixed.
Should I add a fixes tag?
A small note: this patch has been carried since the OF conversion of this target downstream in OpenWrt but never upstreamed.
Quoted 4 lines
Thanks,
tglx