aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irq.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-10-04 07:47:12 -0400
committerThomas Gleixner <tglx@linutronix.de>2010-10-12 10:39:05 -0400
commit3a3856d00c74560a7b8d9f8a13c1ca94ee786b78 (patch)
treec161c40e8c443547d936e276689587bd340da855 /include/linux/irq.h
parente144710b302525de5b90b9c3ba43562458d8957f (diff)
genirq: Remove unsused inline
move_irq() has no users. Remove it and simplify the ifdef forrest while at it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r--include/linux/irq.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h
index f5827abbc034..80fdab208c13 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -215,15 +215,9 @@ extern void remove_irq(unsigned int irq, struct irqaction *act);
215 215
216#ifdef CONFIG_GENERIC_HARDIRQS 216#ifdef CONFIG_GENERIC_HARDIRQS
217 217
218#ifdef CONFIG_SMP 218#if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_PENDING_IRQ)
219# ifdef CONFIG_GENERIC_PENDING_IRQ
220void move_native_irq(int irq); 219void move_native_irq(int irq);
221void move_masked_irq(int irq); 220void move_masked_irq(int irq);
222# else
223static inline void move_irq(int irq) { }
224static inline void move_native_irq(int irq) { }
225static inline void move_masked_irq(int irq) { }
226# endif
227#else 221#else
228static inline void move_native_irq(int irq) { } 222static inline void move_native_irq(int irq) { }
229static inline void move_masked_irq(int irq) { } 223static inline void move_masked_irq(int irq) { }