From: Thomas Gleixner Date: Mon, 9 Mar 2009 19:26:23 +0000 (+0100) Subject: genirq: remove redundant if condition X-Git-Tag: v2.6.30-rc1~3^2~9^2~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c8e2aeef0b8ac9fb8821b8b3734c031579d0b77a;p=karo-tx-linux.git 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 --- 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; /**