[PATCH] ARM: drop unnecessary ifdef
Linus Walleij
linus.walleij at linaro.org
Mon Apr 24 05:09:23 PDT 2023
The ifdef around the assignment of handle_arch_irq makes it seem
optional, but GENERIC_IRQ_MULTI_HANDLER is selected by the ARM
architecture so this will always be true for arm. Drop the ifdef.
Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
arch/arm/kernel/setup.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index 75cd4699e7b3..21ac3c220c43 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -1197,10 +1197,7 @@ void __init setup_arch(char **cmdline_p)
hyp_mode_check();
reserve_crashkernel();
-
-#ifdef CONFIG_GENERIC_IRQ_MULTI_HANDLER
handle_arch_irq = mdesc->handle_irq;
-#endif
#ifdef CONFIG_VT
#if defined(CONFIG_VGA_CONSOLE)
--
2.40.0
More information about the linux-arm-kernel
mailing list