mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCHv2] irqchip: ath79: remove unused function
@ 2026-05-06  8:55 Rosen Penev
  2026-05-11 13:10 ` [tip: irq/urgent] irqchip/ath79-cpu: Remove " tip-bot2 for Rosen Penev
  0 siblings, 1 reply; 2+ messages in thread
From: Rosen Penev @ 2026-05-06  8:55 UTC (permalink / raw)
  To: linux-kernel; +Cc: Thomas Gleixner, Paul Burton, John Crispin

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.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412011509.kGQkDr1y-lkp@intel.com/
Fixes: 51fa4f8912c0 ("MIPS: ath79: drop legacy IRQ code")
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 v2: rewrite description
 drivers/irqchip/irq-ath79-cpu.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/irqchip/irq-ath79-cpu.c b/drivers/irqchip/irq-ath79-cpu.c
index 923e4bba3776..9b7273a7f8ce 100644
--- a/drivers/irqchip/irq-ath79-cpu.c
+++ b/drivers/irqchip/irq-ath79-cpu.c
@@ -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();
-}
-- 
2.54.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip: irq/urgent] irqchip/ath79-cpu: Remove unused function
  2026-05-06  8:55 [PATCHv2] irqchip: ath79: remove unused function Rosen Penev
@ 2026-05-11 13:10 ` tip-bot2 for Rosen Penev
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Rosen Penev @ 2026-05-11 13:10 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: kernel test robot, Rosen Penev, Thomas Gleixner, x86, linux-kernel, maz

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 <rosenp@gmail.com>
AuthorDate:    Wed, 06 May 2026 01:55:22 -07:00
Committer:     Thomas Gleixner <tglx@kernel.org>
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 ... ]

Fixes: 51fa4f8912c0 ("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/
---
 drivers/irqchip/irq-ath79-cpu.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/irqchip/irq-ath79-cpu.c b/drivers/irqchip/irq-ath79-cpu.c
index 923e4bb..9b7273a 100644
--- a/drivers/irqchip/irq-ath79-cpu.c
+++ b/drivers/irqchip/irq-ath79-cpu.c
@@ -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();
-}

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-11 13:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-06  8:55 [PATCHv2] irqchip: ath79: remove unused function Rosen Penev
2026-05-11 13:10 ` [tip: irq/urgent] irqchip/ath79-cpu: Remove " tip-bot2 for Rosen Penev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®