diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-03-09 15:26:23 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-03-13 09:32:28 -0400 |
commit | c8e2aeef0b8ac9fb8821b8b3734c031579d0b77a (patch) | |
tree | 6b171eb497bdd5f21f9e6a0b06c4aa6c3c60b76b /kernel/irq/manage.c | |
parent | 3dd3d46b78c22503957230ca5981849b7bb29b9a (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/manage.c')
-rw-r--r-- | kernel/irq/manage.c | 2 |
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 @@ | |||
15 | 15 | ||
16 | #include "internals.h" | 16 | #include "internals.h" |
17 | 17 | ||
18 | #if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_HARDIRQS) | 18 | #ifdef CONFIG_SMP |
19 | cpumask_var_t irq_default_affinity; | 19 | cpumask_var_t irq_default_affinity; |
20 | 20 | ||
21 | /** | 21 | /** |