From: Thomas Gleixner Date: Mon, 9 Mar 2009 19:26:23 +0000 (+0100) Subject: genirq: remove redundant if condition X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c8e2aeef0b8ac9fb8821b8b3734c031579d0b77a;p=linux-2.6-omap-h63xx.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 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; /**