Commit 3a3856d0 authored by Thomas Gleixner's avatar Thomas Gleixner

genirq: Remove unsused inline

move_irq() has no users. Remove it and simplify the ifdef forrest while at it.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarIngo Molnar <mingo@elte.hu>
parent e144710b
...@@ -215,15 +215,9 @@ extern void remove_irq(unsigned int irq, struct irqaction *act); ...@@ -215,15 +215,9 @@ extern void remove_irq(unsigned int irq, struct irqaction *act);
#ifdef CONFIG_GENERIC_HARDIRQS #ifdef CONFIG_GENERIC_HARDIRQS
#ifdef CONFIG_SMP #if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_PENDING_IRQ)
# ifdef CONFIG_GENERIC_PENDING_IRQ
void move_native_irq(int irq); void move_native_irq(int irq);
void move_masked_irq(int irq); void move_masked_irq(int irq);
# else
static inline void move_irq(int irq) { }
static inline void move_native_irq(int irq) { }
static inline void move_masked_irq(int irq) { }
# endif
#else #else
static inline void move_native_irq(int irq) { } static inline void move_native_irq(int irq) { }
static inline void move_masked_irq(int irq) { } static inline void move_masked_irq(int irq) { }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment