Skip to content

Commit

Permalink
sched: Remove unnecessary #ifdef CONFIG_SMP
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Dietrich authored and Ingo Molnar committed Sep 8, 2010
1 parent 2bfc96a commit ed2d372
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,7 @@ struct root_domain {
*/
cpumask_var_t rto_mask;
atomic_t rto_count;
#ifdef CONFIG_SMP
struct cpupri cpupri;
#endif
};

/*
Expand All @@ -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.
Expand Down

0 comments on commit ed2d372

Please sign in to comment.