genirq: Remove compat code
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -31,13 +31,6 @@ static unsigned int noop_ret(struct irq_data *data)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifndef CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED
|
||||
static void compat_noop(unsigned int irq) { }
|
||||
#define END_INIT .end = compat_noop
|
||||
#else
|
||||
#define END_INIT
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Generic no controller implementation
|
||||
*/
|
||||
@@ -48,7 +41,6 @@ struct irq_chip no_irq_chip = {
|
||||
.irq_enable = noop,
|
||||
.irq_disable = noop,
|
||||
.irq_ack = ack_bad,
|
||||
END_INIT
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -64,5 +56,4 @@ struct irq_chip dummy_irq_chip = {
|
||||
.irq_ack = noop,
|
||||
.irq_mask = noop,
|
||||
.irq_unmask = noop,
|
||||
END_INIT
|
||||
};
|
||||
|
Reference in New Issue
Block a user