Skip to contentSkip to conversation

scheduler: remove redundant #ifdef [trivial]

PATCH In review Paul E. McKenney 2 participants 2 messages Oct 26, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scheduler: remove redundant #ifdef [trivial]

Removes a redundant #ifdef CONFIG_SMP that is nested within an enclosing #ifdef CONFIG_SMP.

Signed-off-by <[email protected]>

----

 sched.c |    2 --
 1 files changed, 2 deletions(-)
kernel/sched.c +0 -2
diff -urpN -X ../dontdiff linux-2.5-2004.10.23/kernel/sched.c linux-2.5-2004.10.23-LBinf/kernel/sched.c
@@ -4437,14 +4437,12 @@ static void sched_domain_debug(void)
 #define sched_domain_debug() {}
 #endif
 
-#ifdef CONFIG_SMP
 /*
  * Initial dummy domain for early boot and for hotplug cpu. Being static,
  * it is initialized to zero, so all balancing flags are cleared which is
  * what we want.
  */
 static struct sched_domain sched_domain_dummy;
-#endif
 
 #ifdef CONFIG_HOTPLUG_CPU
 /*