* [PATCH] scheduler: remove redundant #ifdef [trivial]
@ 2004-10-25 23:38 Paul E. McKenney
2004-10-26 6:36 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Paul E. McKenney @ 2004-10-25 23:38 UTC (permalink / raw)
To: linux-kernel; +Cc: akpm, sivanich, mingo
Removes a redundant #ifdef CONFIG_SMP that is nested within an enclosing
#ifdef CONFIG_SMP.
Signed-off-by: <paulmck@us.ibm.com>
----
sched.c | 2 --
1 files changed, 2 deletions(-)
diff -urpN -X ../dontdiff linux-2.5-2004.10.23/kernel/sched.c linux-2.5-2004.10.23-LBinf/kernel/sched.c
--- linux-2.5-2004.10.23/kernel/sched.c Sat Oct 23 13:23:31 2004
+++ linux-2.5-2004.10.23-LBinf/kernel/sched.c Sun Oct 24 10:50:12 2004
@@ -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
/*
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] scheduler: remove redundant #ifdef [trivial]
2004-10-25 23:38 [PATCH] scheduler: remove redundant #ifdef [trivial] Paul E. McKenney
@ 2004-10-26 6:36 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2004-10-26 6:36 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: linux-kernel, akpm, sivanich
* Paul E. McKenney <paulmck@us.ibm.com> wrote:
> Removes a redundant #ifdef CONFIG_SMP that is nested within an enclosing
> #ifdef CONFIG_SMP.
>
> Signed-off-by: <paulmck@us.ibm.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-26 6:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-25 23:38 [PATCH] scheduler: remove redundant #ifdef [trivial] Paul E. McKenney
2004-10-26 6:36 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome