Commit 883cc35e authored by Tejun Heo's avatar Tejun Heo
Browse files

sched_ext: Remove a meaningless conditional goto in scx_select_cpu_dfl()



scx_select_cpu_dfl() has a meaningless conditional goto at the end. Remove
it. No functional changes.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Cc: Andrea Righi <arighi@nvidia.com>
parent 37477d9e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -584,8 +584,6 @@ s32 scx_select_cpu_dfl(struct task_struct *p, s32 prev_cpu, u64 wake_flags, u64
	 * increasing distance.
	 */
	cpu = scx_pick_idle_cpu(p->cpus_ptr, node, flags);
	if (cpu >= 0)
		goto out_unlock;

out_unlock:
	rcu_read_unlock();