[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1491811500-30307-1-git-send-email-douly.fnst@cn.fujitsu.com>
Date: Mon, 10 Apr 2017 16:05:00 +0800
From: Dou Liyang <douly.fnst@...fujitsu.com>
To: <x86@...nel.org>, <linux-kernel@...r.kernel.org>
CC: <tglx@...utronix.de>, <mingo@...nel.org>, <hpa@...or.com>,
Dou Liyang <douly.fnst@...fujitsu.com>
Subject: [PATCH 3/3] x86/irq: Remove a redundant #ifdef directive
The declaration of irq_ctx_init in irq.h has already considered with
both X86_32=y and X86_32=n cases.
Put '#ifdef CONFIG_X86_32' here is redundant.
Remove it for cleanup.
Signed-off-by: Dou Liyang <douly.fnst@...fujitsu.com>
---
arch/x86/kernel/irqinit.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/kernel/irqinit.c b/arch/x86/kernel/irqinit.c
index 1423ab1..7468c69 100644
--- a/arch/x86/kernel/irqinit.c
+++ b/arch/x86/kernel/irqinit.c
@@ -195,7 +195,5 @@ void __init native_init_IRQ(void)
if (!acpi_ioapic && !of_ioapic && nr_legacy_irqs())
setup_irq(2, &irq2);
-#ifdef CONFIG_X86_32
irq_ctx_init(smp_processor_id());
-#endif
}
--
2.5.5
Powered by blists - more mailing lists