sched: Remove unnecessary #ifdef CONFIG_SMP
authorChristian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
Mon, 6 Sep 2010 14:37:05 +0000 (16:37 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 8 Sep 2010 06:14:20 +0000 (08:14 +0200)
The CONFIG_SMP ifdef isn't necessary at this point, because it
is checked in an outer ifdef level already and has no effect
here.

Cleanup only, no functional effect.

Signed-off-by: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
Cc: vamos-dev@i4.informatik.uni-erlangen.de
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Tejun Heo <tj@kernel.org>
LKML-Reference: <7a3a39ef3f765a4473cb026b1f204059568a7098.1283782701.git.qy03fugy@stud.informatik.uni-erlangen.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c

index 09b574e7f4df7c14615d104c3fe736f7c1be0847..8eef8e5512d4eae9806a643f6710d3ff914bcfde 100644 (file)
@@ -426,9 +426,7 @@ struct root_domain {
         */
        cpumask_var_t rto_mask;
        atomic_t rto_count;
-#ifdef CONFIG_SMP
        struct cpupri cpupri;
-#endif
 };
 
 /*
@@ -437,7 +435,7 @@ struct root_domain {
  */
 static struct root_domain def_root_domain;
 
-#endif
+#endif /* CONFIG_SMP */
 
 /*
  * This is the main, per-CPU runqueue data structure.