scheduler: remove redundant #ifdef [trivial]
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
@@ -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 /*
Quoted 4 lines · Paul E. McKenney
Removes a redundant #ifdef
CONFIG_SMPthat is nested within an enclosing #ifdefCONFIG_SMP.Signed-off-by <[email protected]>
Acked-by Ingo Molnar <[email protected]>
Ingo