Skip to content

Commit 663e695

Browse files
committed
irq: Remove unused debug_poll_all_shared_irqs()
commit 74296a8 added this function for debug purposes, but it was never used for anything. Remove it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent 24b26d4 commit 663e695

2 files changed

Lines changed: 1 addition & 19 deletions

File tree

‎include/linux/interrupt.h‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -603,12 +603,6 @@ static inline void init_irq_proc(void)
603603
}
604604
#endif
605605

606-
#if defined(CONFIG_GENERIC_HARDIRQS) && defined(CONFIG_DEBUG_SHIRQ)
607-
extern void debug_poll_all_shared_irqs(void);
608-
#else
609-
static inline void debug_poll_all_shared_irqs(void) { }
610-
#endif
611-
612606
struct seq_file;
613607
int show_interrupts(struct seq_file *p, void *v);
614608

‎kernel/irq/spurious.c‎

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static int misrouted_irq(int irq)
104104
return ok;
105105
}
106106

107-
static void poll_all_shared_irqs(void)
107+
static void poll_spurious_irqs(unsigned long dummy)
108108
{
109109
struct irq_desc *desc;
110110
int i;
@@ -123,23 +123,11 @@ static void poll_all_shared_irqs(void)
123123

124124
try_one_irq(i, desc);
125125
}
126-
}
127-
128-
static void poll_spurious_irqs(unsigned long dummy)
129-
{
130-
poll_all_shared_irqs();
131126

132127
mod_timer(&poll_spurious_irq_timer,
133128
jiffies + POLL_SPURIOUS_IRQ_INTERVAL);
134129
}
135130

136-
#ifdef CONFIG_DEBUG_SHIRQ
137-
void debug_poll_all_shared_irqs(void)
138-
{
139-
poll_all_shared_irqs();
140-
}
141-
#endif
142-
143131
/*
144132
* If 99,900 of the previous 100,000 interrupts have not been handled
145133
* then assume that the IRQ is stuck in some manner. Drop a diagnostic

0 commit comments

Comments
 (0)