diff options
| author | Tobias Klauser <[email protected]> | 2015-04-15 18:51:18 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-04-16 09:20:43 +0200 |
| commit | 2df8406a439bdeacbb5b74bbf91c376447d447dc (patch) | |
| tree | fff6e9f6f396f58afc323b0052dce90ac6fa9dc3 | |
| parent | 6a16dda86ebbcfe690c753c3fb469b4f9ad5a5ef (diff) | |
sched/autogroup: Remove unnecessary #ifdef guards
Since commit:
029632fbb7b7 ("sched: Make separate sched*.c translation units")
autogroup is a separate translation unit built from the Makefile and
thus no longer needs its content wrapped with #ifdef CONFIG_SCHED_AUTOGROUP.
Signed-off-by: Tobias Klauser <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
| -rw-r--r-- | kernel/sched/auto_group.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/sched/auto_group.c b/kernel/sched/auto_group.c index eae160dd669d..1a3b58d531b2 100644 --- a/kernel/sched/auto_group.c +++ b/kernel/sched/auto_group.c @@ -1,5 +1,3 @@ -#ifdef CONFIG_SCHED_AUTOGROUP - #include "sched.h" #include <linux/proc_fs.h> @@ -249,5 +247,3 @@ int autogroup_path(struct task_group *tg, char *buf, int buflen) return snprintf(buf, buflen, "%s-%ld", "/autogroup", tg->autogroup->id); } #endif /* CONFIG_SCHED_DEBUG */ - -#endif /* CONFIG_SCHED_AUTOGROUP */ |