]> Pileus Git - ~andy/linux/commitdiff
genirq: remove redundant if condition
authorThomas Gleixner <tglx@linutronix.de>
Mon, 9 Mar 2009 19:26:23 +0000 (20:26 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 13 Mar 2009 13:32:28 +0000 (14:32 +0100)
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>
kernel/irq/manage.c

index e28db0f656acbb55510e86b76640a9c25393be72..4600f877c29283d5b9777e42ee3bd6f207a68bab 100644 (file)
@@ -15,7 +15,7 @@
 
 #include "internals.h"
 
-#if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_HARDIRQS)
+#ifdef CONFIG_SMP
 cpumask_var_t irq_default_affinity;
 
 /**