diff options
author | Alban Bedel <albeu@free.fr> | 2015-11-17 14:34:52 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-01-04 03:42:25 -0500 |
commit | a797a0cf9c7b585b12810828b8f6581d48321ad5 (patch) | |
tree | d86065e299a3235fe722f27d111b0a24935f4c8a | |
parent | 76654c7be21c1704607e9ed22cf5d18d430fd828 (diff) |
MIPS: ath79: Remove useless #ifdef CONFIG_IRQCHIP
IRQCHIP is always enabled, so the #ifdef can just be removed.
Signed-off-by: Alban Bedel <albeu@free.fr>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Alexander Couzens <lynxis@fe80.eu>
Cc: Joel Porquet <joel@porquet.org>
Cc: Andrew Bresticker <abrestic@chromium.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11504/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/ath79/irq.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/ath79/irq.c b/arch/mips/ath79/irq.c index eeb3953ed8ac..26f8d1bdaa7d 100644 --- a/arch/mips/ath79/irq.c +++ b/arch/mips/ath79/irq.c | |||
@@ -256,7 +256,6 @@ asmlinkage void plat_irq_dispatch(void) | |||
256 | } | 256 | } |
257 | } | 257 | } |
258 | 258 | ||
259 | #ifdef CONFIG_IRQCHIP | ||
260 | static int misc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) | 259 | static int misc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) |
261 | { | 260 | { |
262 | irq_set_chip_and_handler(irq, &ath79_misc_irq_chip, handle_level_irq); | 261 | irq_set_chip_and_handler(irq, &ath79_misc_irq_chip, handle_level_irq); |
@@ -349,8 +348,6 @@ static int __init ar79_cpu_intc_of_init( | |||
349 | IRQCHIP_DECLARE(ar79_cpu_intc, "qca,ar7100-cpu-intc", | 348 | IRQCHIP_DECLARE(ar79_cpu_intc, "qca,ar7100-cpu-intc", |
350 | ar79_cpu_intc_of_init); | 349 | ar79_cpu_intc_of_init); |
351 | 350 | ||
352 | #endif | ||
353 | |||
354 | void __init arch_init_irq(void) | 351 | void __init arch_init_irq(void) |
355 | { | 352 | { |
356 | if (mips_machtype == ATH79_MACH_GENERIC_OF) { | 353 | if (mips_machtype == ATH79_MACH_GENERIC_OF) { |