sched: Remove empty #ifdef
PATCH 1/1 sched: Remove empty #ifdef
From: Hiroshi Shimamoto <[email protected]>
Just remove empty #ifdef directive part.
Signed-off-by Hiroshi Shimamoto <[email protected]>
--- kernel/sched/core.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-)
kernel/sched/core.c +0 -7
@@ -7136,10 +7136,6 @@ void set_curr_task(int cpu, struct task_struct *p)#endif -#ifdef CONFIG_RT_GROUP_SCHED -#else /* !CONFIG_RT_GROUP_SCHED */ -#endif /* CONFIG_RT_GROUP_SCHED */ -#ifdef CONFIG_CGROUP_SCHED /* task_group_lock serializes the addition/removal of task groups */ static DEFINE_SPINLOCK (task_group_lock);
@@ -7248,9 +7244,6 @@ void sched_move_task(struct task_struct *tsk) }#endif /* CONFIG_CGROUP_SCHED */ -#ifdef CONFIG_FAIR_GROUP_SCHED -#endif -#if defined(CONFIG_RT_GROUP_SCHED ) || defined(CONFIG_CFS_BANDWIDTH )static unsigned long to_ratio (u64 period,u64 runtime) {
Signature · 1 line
1.7.7.5
[tip:sched/urgent] sched: Remove empty #ifdefs
Commit-ID: 9b9fb610f6800e0db46cccd8618dd7e609c9bb5a Gitweb: http://git.kernel.org/tip/9b9fb610f6800e0db46cccd8618dd7e609c9bb5a Author: Hiroshi Shimamoto <[email protected]> AuthorDate: Tue, 10 Jan 2012 09:24:05 +0900 Committer: Ingo Molnar <[email protected]> CommitDate: Tue, 10 Jan 2012 09:57:41 +0100
sched: Remove empty #ifdefs
Signed-off-by Hiroshi Shimamoto <[email protected]>
Cc Peter Zijlstra <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- kernel/sched/core.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-)
kernel/sched/core.c +0 -7
@@ -7136,10 +7136,6 @@ void set_curr_task(int cpu, struct task_struct *p)#endif -#ifdef CONFIG_RT_GROUP_SCHED -#else /* !CONFIG_RT_GROUP_SCHED */ -#endif /* CONFIG_RT_GROUP_SCHED */ -#ifdef CONFIG_CGROUP_SCHED /* task_group_lock serializes the addition/removal of task groups */ static DEFINE_SPINLOCK (task_group_lock);
@@ -7248,9 +7244,6 @@ void sched_move_task(struct task_struct *tsk) }#endif /* CONFIG_CGROUP_SCHED */ -#ifdef CONFIG_FAIR_GROUP_SCHED -#endif -#if defined(CONFIG_RT_GROUP_SCHED ) || defined(CONFIG_CFS_BANDWIDTH )static unsigned long to_ratio (u64 period,u64 runtime) {