Skip to contentSkip to conversation

irqchip: ath79: remove unused function

PATCH Applied Rosen Penev 2 participants 2 messages May 6 – May 11 irqchip drivers

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 irqchip: ath79: remove unused function

ath79_cpu_irq_init() was part of legacy pre-OF code that got removed a while back. Remove it to get rid of a missing prototype error that the kernel test robot also found but was never fixed.

---
v2: rewrite description

 drivers/irqchip/irq-ath79-cpu.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/irqchip/irq-ath79-cpu.c +0 -7
index 923e4bba3776..9b7273a7f8ce 100644
@@ -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
merge bot Applied
#1 lore raw

[tip: irq/urgent] irqchip/ath79-cpu: Remove unused function

The following commit has been merged into the irq/urgent branch of tip:

The following commit has been merged into the irq/urgent branch of tip:

Commit-ID:     0fa10fb77069fb67aa51384868ef3702b7791465
Gitweb:        https://git.kernel.org/tip/0fa10fb77069fb67aa51384868ef3702b7791465
Author:        Rosen Penev <[email protected]>
AuthorDate:    Wed, 06 May 2026 01:55:22 -07:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Mon, 11 May 2026 15:06:47 +02:00

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 ... ]

---
 drivers/irqchip/irq-ath79-cpu.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/irqchip/irq-ath79-cpu.c +0 -7
index 923e4bb..9b7273a 100644
@@ -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();
-}