Skip to content

Commit 0fa10fb

Browse files
nehebThomas Gleixner
authored andcommitted
irqchip/ath79-cpu: Remove unused function
ath79_cpu_irq_init() was part of the legacy pre-OF code that got removed a while back. Remove it to get rid of a missing prototype warning, reported by the kernel test robot. [ tglx: Fix the subject prefix. Sigh ... ] Fixes: 51fa4f8 ("MIPS: ath79: drop legacy IRQ code") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260506085522.1210143-1-rosenp@gmail.com Closes: https://lore.kernel.org/oe-kbuild-all/202412011509.kGQkDr1y-lkp@intel.com/
1 parent 512718b commit 0fa10fb

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

drivers/irqchip/irq-ath79-cpu.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,3 @@ static int __init ar79_cpu_intc_of_init(
8585
}
8686
IRQCHIP_DECLARE(ar79_cpu_intc, "qca,ar7100-cpu-intc",
8787
ar79_cpu_intc_of_init);
88-
89-
void __init ath79_cpu_irq_init(unsigned irq_wb_chan2, unsigned irq_wb_chan3)
90-
{
91-
irq_wb_chan[2] = irq_wb_chan2;
92-
irq_wb_chan[3] = irq_wb_chan3;
93-
mips_cpu_irq_init();
94-
}

0 commit comments

Comments
 (0)