Commit 65177ea9 authored by Shrikanth Hegde's avatar Shrikanth Hegde Committed by Peter Zijlstra
Browse files

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: default avatarShrikanth Hegde <sshegde@linux.ibm.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: default avatarJuri Lelli <juri.lelli@redhat.com>
Link: https://patch.msgid.link/20251014100342.978936-2-sshegde@linux.ibm.com
parent b4bfacd3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
}