Commit 663e69592856df53ef52969482ef413a96bc4e06

Authored by Thomas Gleixner
1 parent 24b26d4211

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>

Showing 2 changed files with 1 additions and 19 deletions Side-by-side Diff

include/linux/interrupt.h
... ... @@ -603,12 +603,6 @@
603 603 }
604 604 #endif
605 605  
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   -
612 606 struct seq_file;
613 607 int show_interrupts(struct seq_file *p, void *v);
614 608  
kernel/irq/spurious.c
... ... @@ -104,7 +104,7 @@
104 104 return ok;
105 105 }
106 106  
107   -static void poll_all_shared_irqs(void)
  107 +static void poll_spurious_irqs(unsigned long dummy)
108 108 {
109 109 struct irq_desc *desc;
110 110 int i;
111 111  
112 112  
... ... @@ -123,22 +123,10 @@
123 123  
124 124 try_one_irq(i, desc);
125 125 }
126   -}
127 126  
128   -static void poll_spurious_irqs(unsigned long dummy)
129   -{
130   - poll_all_shared_irqs();
131   -
132 127 mod_timer(&poll_spurious_irq_timer,
133 128 jiffies + POLL_SPURIOUS_IRQ_INTERVAL);
134 129 }
135   -
136   -#ifdef CONFIG_DEBUG_SHIRQ
137   -void debug_poll_all_shared_irqs(void)
138   -{
139   - poll_all_shared_irqs();
140   -}
141   -#endif
142 130  
143 131 /*
144 132 * If 99,900 of the previous 100,000 interrupts have not been handled