diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-03-09 20:26:23 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-03-13 14:32:28 +0100 |
commit | c8e2aeef0b8ac9fb8821b8b3734c031579d0b77a (patch) | |
tree | 6b171eb497bdd5f21f9e6a0b06c4aa6c3c60b76b /kernel/irq/manage.c | |
parent | 3dd3d46b78c22503957230ca5981849b7bb29b9a (diff) | |
download | kernel-common-c8e2aeef0b8ac9fb8821b8b3734c031579d0b77a.tar.gz kernel-common-c8e2aeef0b8ac9fb8821b8b3734c031579d0b77a.tar.bz2 kernel-common-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 '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 @@ #include "internals.h" -#if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_HARDIRQS) +#ifdef CONFIG_SMP cpumask_var_t irq_default_affinity; /** |