mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
sched/deadline: Minor cleanup in select_task_rq_dl()
In select_task_rq_dl, there is only one goto statement, there is no need for it. No functional changes. Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Juri Lelli <juri.lelli@redhat.com> Link: https://patch.msgid.link/20251014100342.978936-2-sshegde@linux.ibm.com
This commit is contained in:
committed by
Peter Zijlstra
parent
b4bfacd392
commit
65177ea9f6
@@ -2384,7 +2384,7 @@ select_task_rq_dl(struct task_struct *p, int cpu, int flags)
|
||||
struct rq *rq;
|
||||
|
||||
if (!(flags & WF_TTWU))
|
||||
goto out;
|
||||
return cpu;
|
||||
|
||||
rq = cpu_rq(cpu);
|
||||
|
||||
@@ -2422,7 +2422,6 @@ select_task_rq_dl(struct task_struct *p, int cpu, int flags)
|
||||
}
|
||||
rcu_read_unlock();
|
||||
|
||||
out:
|
||||
return cpu;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user