summaryrefslogtreecommitdiffstats
path: root/kernel/irq/dummychip.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-28 13:32:20 +0200
committerThomas Gleixner <tglx@linutronix.de>2011-03-29 14:48:19 +0200
commit0c6f8a8b917ad361319c8ace3e9f28e69bfdb4c1 (patch)
treeb4b0cb4b619368bc93ff883f4b667e05a185549b /kernel/irq/dummychip.c
parentdced35aeb0367dda2636ee9ee914bda14510dcc9 (diff)
downloadblackbird-op-linux-0c6f8a8b917ad361319c8ace3e9f28e69bfdb4c1.tar.gz
blackbird-op-linux-0c6f8a8b917ad361319c8ace3e9f28e69bfdb4c1.zip
genirq: Remove compat code
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/dummychip.c')
-rw-r--r--kernel/irq/dummychip.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/irq/dummychip.c b/kernel/irq/dummychip.c
index 20dc5474947e..b5fcd96c7102 100644
--- a/kernel/irq/dummychip.c
+++ b/kernel/irq/dummychip.c
@@ -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
};
OpenPOWER on IntegriCloud