summaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-11-04 14:22:21 +0100
committerThomas Gleixner <tglx@linutronix.de>2009-11-04 14:22:21 +0100
commit663e69592856df53ef52969482ef413a96bc4e06 (patch)
tree7866ab9917d0f4a676b59b37d6e28f354d009872 /kernel/irq
parent24b26d4211130b6455692804c14d537158855cd7 (diff)
downloadop-kernel-dev-663e69592856df53ef52969482ef413a96bc4e06.zip
op-kernel-dev-663e69592856df53ef52969482ef413a96bc4e06.tar.gz
irq: Remove unused debug_poll_all_shared_irqs()
commit 74296a8ed added this function for debug purposes, but it was never used for anything. Remove it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/spurious.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c
index 114e704..8996b98 100644
--- a/kernel/irq/spurious.c
+++ b/kernel/irq/spurious.c
@@ -104,7 +104,7 @@ static int misrouted_irq(int irq)
return ok;
}
-static void poll_all_shared_irqs(void)
+static void poll_spurious_irqs(unsigned long dummy)
{
struct irq_desc *desc;
int i;
@@ -123,23 +123,11 @@ static void poll_all_shared_irqs(void)
try_one_irq(i, desc);
}
-}
-
-static void poll_spurious_irqs(unsigned long dummy)
-{
- poll_all_shared_irqs();
mod_timer(&poll_spurious_irq_timer,
jiffies + POLL_SPURIOUS_IRQ_INTERVAL);
}
-#ifdef CONFIG_DEBUG_SHIRQ
-void debug_poll_all_shared_irqs(void)
-{
- poll_all_shared_irqs();
-}
-#endif
-
/*
* If 99,900 of the previous 100,000 interrupts have not been handled
* then assume that the IRQ is stuck in some manner. Drop a diagnostic
OpenPOWER on IntegriCloud