diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-06-27 07:41:10 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-27 08:31:26 -0400 |
commit | bf647b62fdb948e757a7b4d18d4f16e3c763b1d1 (patch) | |
tree | 28b52250ff8a8e02b3cae483fb59368f2aabdc54 /kernel/sched_rt.c | |
parent | f57aec5a871907427060196f6bac3d0011b38450 (diff) |
sched: clean up some unused variables
In file included from /mnt/build/linux-2.6/kernel/sched.c:1496:
/mnt/build/linux-2.6/kernel/sched_rt.c: In function '__enable_runtime':
/mnt/build/linux-2.6/kernel/sched_rt.c:339: warning: unused variable 'rd'
/mnt/build/linux-2.6/kernel/sched_rt.c: In function 'requeue_rt_entity':
/mnt/build/linux-2.6/kernel/sched_rt.c:692: warning: unused variable 'queue'
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_rt.c')
-rw-r--r-- | kernel/sched_rt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c index bd90c8bb0739..6b4a6b5a4167 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c | |||
@@ -336,7 +336,6 @@ static void disable_runtime(struct rq *rq) | |||
336 | 336 | ||
337 | static void __enable_runtime(struct rq *rq) | 337 | static void __enable_runtime(struct rq *rq) |
338 | { | 338 | { |
339 | struct root_domain *rd = rq->rd; | ||
340 | struct rt_rq *rt_rq; | 339 | struct rt_rq *rt_rq; |
341 | 340 | ||
342 | if (unlikely(!scheduler_running)) | 341 | if (unlikely(!scheduler_running)) |
@@ -689,7 +688,6 @@ static | |||
689 | void requeue_rt_entity(struct rt_rq *rt_rq, struct sched_rt_entity *rt_se) | 688 | void requeue_rt_entity(struct rt_rq *rt_rq, struct sched_rt_entity *rt_se) |
690 | { | 689 | { |
691 | struct rt_prio_array *array = &rt_rq->active; | 690 | struct rt_prio_array *array = &rt_rq->active; |
692 | struct list_head *queue = array->queue + rt_se_prio(rt_se); | ||
693 | 691 | ||
694 | if (on_rt_rq(rt_se)) { | 692 | if (on_rt_rq(rt_se)) { |
695 | list_del_init(&rt_se->run_list); | 693 | list_del_init(&rt_se->run_list); |