diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index 04a569cdd613df57a9bd84d86ce674f08068bde2..15abf04bf0b8903bdab6da5fa40eb7e0bd0dd094 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -1772,8 +1772,7 @@ static void prio_changed_dl(struct rq *rq, struct task_struct *p, */ resched_curr(rq); #endif /* CONFIG_SMP */ - } else - switched_to_dl(rq, p); + } } const struct sched_class dl_sched_class = {