aboutsummaryrefslogtreecommitdiff
path: root/kernel/irq
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
parent3dd3d46b78c22503957230ca5981849b7bb29b9a (diff)
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 'kernel/irq')
-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 e28db0f656a..4600f877c29 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;
/**