summaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-03-09 20:26:23 +0100
committerThomas Gleixner <tglx@linutronix.de>2009-03-13 14:32:28 +0100
commitc8e2aeef0b8ac9fb8821b8b3734c031579d0b77a (patch)
tree6b171eb497bdd5f21f9e6a0b06c4aa6c3c60b76b /kernel/irq/manage.c
parentgenirq: remove unused hw_irq_controller typedef (diff)
downloadlinux-c8e2aeef0b8ac9fb8821b8b3734c031579d0b77a.tar.xz
linux-c8e2aeef0b8ac9fb8821b8b3734c031579d0b77a.zip
genirq: remove redundant if condition
Impact: cleanup The code is only compiled if CONFIG_GENERIC_HARDIRQS=y so another check for this define in the code is redundant. Remove it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to '')
-rw-r--r--kernel/irq/manage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index e28db0f656ac..4600f877c292 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -15,7 +15,7 @@
#include "internals.h"
-#if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_HARDIRQS)
+#ifdef CONFIG_SMP
cpumask_var_t irq_default_affinity;
/**