diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c index 979b7341008af..c18b50094fab9 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c @@ -1819,7 +1819,7 @@ static int push_rt_task(struct rq *rq) * pushing. */ task = pick_next_pushable_task(rq); - if (task_cpu(next_task) == rq->cpu && task == next_task) { + if (task == next_task) { /* * The task hasn't migrated, and is still the next * eligible task, but we failed to find a run-queue