aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched/deadline.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index 362ab1f886b0..f3d7776656ee 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -1637,7 +1637,6 @@ static void switched_from_dl(struct rq *rq, struct task_struct *p)
1637 1637
1638 __dl_clear_params(p); 1638 __dl_clear_params(p);
1639 1639
1640#ifdef CONFIG_SMP
1641 /* 1640 /*
1642 * Since this might be the only -deadline task on the rq, 1641 * Since this might be the only -deadline task on the rq,
1643 * this is the right place to try to pull some other one 1642 * this is the right place to try to pull some other one
@@ -1648,7 +1647,6 @@ static void switched_from_dl(struct rq *rq, struct task_struct *p)
1648 1647
1649 if (pull_dl_task(rq)) 1648 if (pull_dl_task(rq))
1650 resched_curr(rq); 1649 resched_curr(rq);
1651#endif
1652} 1650}
1653 1651
1654/* 1652/*