[tip:sched/core] sched/rt: Remove leaf_rt_rq_list from struct rq

From: tip-bot for Li Zefan
Date: Fri Feb 21 2014 - 16:33:21 EST


Commit-ID: 673ca1919f2b0b83a377395454d5edd12f946bbf
Gitweb: http://git.kernel.org/tip/673ca1919f2b0b83a377395454d5edd12f946bbf
Author: Li Zefan <lizefan@xxxxxxxxxx>
AuthorDate: Sat, 8 Feb 2014 14:17:26 +0800
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitDate: Fri, 21 Feb 2014 21:43:19 +0100

sched/rt: Remove leaf_rt_rq_list from struct rq

This is a leftover from commit e23ee74777f389369431d77390c4b09332ce026a
("sched/rt: Simplify pull_rt_task() logic and remove .leaf_rt_rq_list").

Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Signed-off-by: Li Zefan <lizefan@xxxxxxxxxx>
Signed-off-by: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Link: http://lkml.kernel.org/r/52F5CBF6.4060901@xxxxxxxxxx
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
kernel/sched/core.c | 1 -
kernel/sched/sched.h | 4 ----
2 files changed, 5 deletions(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index c1687de..67a24fa 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -6884,7 +6884,6 @@ void __init sched_init(void)

rq->rt.rt_runtime = def_rt_bandwidth.rt_runtime;
#ifdef CONFIG_RT_GROUP_SCHED
- INIT_LIST_HEAD(&rq->leaf_rt_rq_list);
init_tg_rt_entry(&root_task_group, &rq->rt, NULL, i, NULL);
#endif

diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index caf4abd..d608125 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -543,10 +543,6 @@ struct rq {
struct list_head leaf_cfs_rq_list;
#endif /* CONFIG_FAIR_GROUP_SCHED */

-#ifdef CONFIG_RT_GROUP_SCHED
- struct list_head leaf_rt_rq_list;
-#endif
-
/*
* This is part of a global counter where only the total sum
* over all CPUs matters. A task can increase this counter on
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/