diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-10-04 07:47:12 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-12 10:39:05 -0400 |
commit | 3a3856d00c74560a7b8d9f8a13c1ca94ee786b78 (patch) | |
tree | c161c40e8c443547d936e276689587bd340da855 /include | |
parent | e144710b302525de5b90b9c3ba43562458d8957f (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')
-rw-r--r-- | include/linux/irq.h | 8 |
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 | ||
220 | void move_native_irq(int irq); | 219 | void move_native_irq(int irq); |
221 | void move_masked_irq(int irq); | 220 | void move_masked_irq(int irq); |
222 | # else | ||
223 | static inline void move_irq(int irq) { } | ||
224 | static inline void move_native_irq(int irq) { } | ||
225 | static inline void move_masked_irq(int irq) { } | ||
226 | # endif | ||
227 | #else | 221 | #else |
228 | static inline void move_native_irq(int irq) { } | 222 | static inline void move_native_irq(int irq) { } |
229 | static inline void move_masked_irq(int irq) { } | 223 | static inline void move_masked_irq(int irq) { } |