Skip to content

Commit

Permalink
genirq: Remove unsused inline
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Gleixner committed Oct 12, 2010
1 parent e144710 commit 3a3856d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions include/linux/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,15 +215,9 @@ extern void remove_irq(unsigned int irq, struct irqaction *act);

#ifdef CONFIG_GENERIC_HARDIRQS

#ifdef CONFIG_SMP
# ifdef CONFIG_GENERIC_PENDING_IRQ
#if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_PENDING_IRQ)
void move_native_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
static inline void move_native_irq(int irq) { }
static inline void move_masked_irq(int irq) { }
Expand Down

0 comments on commit 3a3856d

Please sign in to comment.