Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754762AbbKQTfo (ORCPT ); Tue, 17 Nov 2015 14:35:44 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:61713 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754612AbbKQTfn (ORCPT ); Tue, 17 Nov 2015 14:35:43 -0500 From: Alban Bedel To: linux-mips@linux-mips.org Cc: Ralf Baechle , Thomas Gleixner , Jason Cooper , Marc Zyngier , Alexander Couzens , Joel Porquet , Andrew Bresticker , linux-kernel@vger.kernel.org, Alban Bedel Subject: [PATCH 2/6] MIPS: ath79: irq: Remove useless #ifdef CONFIG_IRQCHIP Date: Tue, 17 Nov 2015 20:34:52 +0100 Message-Id: <1447788896-15553-3-git-send-email-albeu@free.fr> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1447788896-15553-1-git-send-email-albeu@free.fr> References: <1447788896-15553-1-git-send-email-albeu@free.fr> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1063 Lines: 36 IRQCHIP is always enabled, so the #ifdef can just be removed. Signed-off-by: Alban Bedel --- arch/mips/ath79/irq.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/mips/ath79/irq.c b/arch/mips/ath79/irq.c index eeb3953..26f8d1b 100644 --- a/arch/mips/ath79/irq.c +++ b/arch/mips/ath79/irq.c @@ -256,7 +256,6 @@ asmlinkage void plat_irq_dispatch(void) } } -#ifdef CONFIG_IRQCHIP static int misc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) { 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( IRQCHIP_DECLARE(ar79_cpu_intc, "qca,ar7100-cpu-intc", ar79_cpu_intc_of_init); -#endif - void __init arch_init_irq(void) { if (mips_machtype == ATH79_MACH_GENERIC_OF) { -- 2.0.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/