summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched_rt.c2
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)
static void __enable_runtime(struct rq *rq)
{
- struct root_domain *rd = rq->rd;
struct rt_rq *rt_rq;
if (unlikely(!scheduler_running))
@@ -689,7 +688,6 @@ static
void requeue_rt_entity(struct rt_rq *rt_rq, struct sched_rt_entity *rt_se)
{
struct rt_prio_array *array = &rt_rq->active;
- struct list_head *queue = array->queue + rt_se_prio(rt_se);
if (on_rt_rq(rt_se)) {
list_del_init(&rt_se->run_list);