Commit e9a9fc6a authored by Paul E. McKenney's avatar Paul E. McKenney Committed by Linus Torvalds

[PATCH] scheduler: remove redundant #ifdef

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

Signed-off-by: <paulmck@us.ibm.com>
Acked-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent fc5e4f7b
...@@ -4449,14 +4449,12 @@ static void sched_domain_debug(void) ...@@ -4449,14 +4449,12 @@ static void sched_domain_debug(void)
#define sched_domain_debug() {} #define sched_domain_debug() {}
#endif #endif
#ifdef CONFIG_SMP
/* /*
* Initial dummy domain for early boot and for hotplug cpu. Being static, * 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 * it is initialized to zero, so all balancing flags are cleared which is
* what we want. * what we want.
*/ */
static struct sched_domain sched_domain_dummy; static struct sched_domain sched_domain_dummy;
#endif
#ifdef CONFIG_HOTPLUG_CPU #ifdef CONFIG_HOTPLUG_CPU
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment