* [PATCH] sched: Remove empty #ifdef
@ 2012-01-10 0:24 Hiroshi Shimamoto
2012-01-10 17:19 ` [tip:sched/urgent] sched: Remove empty #ifdefs tip-bot for Hiroshi Shimamoto
0 siblings, 1 reply; 2+ messages in thread
From: Hiroshi Shimamoto @ 2012-01-10 0:24 UTC (permalink / raw)
To: linux-kernel, Ingo Molnar, Peter Zijlstra
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Just remove empty #ifdef directive part.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
---
kernel/sched/core.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 4dbfd04..457c881 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -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)
{
--
1.7.7.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:sched/urgent] sched: Remove empty #ifdefs
2012-01-10 0:24 [PATCH] sched: Remove empty #ifdef Hiroshi Shimamoto
@ 2012-01-10 17:19 ` tip-bot for Hiroshi Shimamoto
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Hiroshi Shimamoto @ 2012-01-10 17:19 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, h-shimamoto, hpa, mingo, a.p.zijlstra, tglx, mingo
Commit-ID: 9b9fb610f6800e0db46cccd8618dd7e609c9bb5a
Gitweb: http://git.kernel.org/tip/9b9fb610f6800e0db46cccd8618dd7e609c9bb5a
Author: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
AuthorDate: Tue, 10 Jan 2012 09:24:05 +0900
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Tue, 10 Jan 2012 09:57:41 +0100
sched: Remove empty #ifdefs
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/4F0B8525.8070901@ct.jp.nec.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
kernel/sched/core.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 4dbfd04..457c881 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -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)
{
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-10 17:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-10 0:24 [PATCH] sched: Remove empty #ifdef Hiroshi Shimamoto
2012-01-10 17:19 ` [tip:sched/urgent] sched: Remove empty #ifdefs tip-bot for Hiroshi Shimamoto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).