Commit 95b87369 authored by Zhang Qiao's avatar Zhang Qiao Committed by Tejun Heo
Browse files

sched_ext: Remove redundant p->nr_cpus_allowed checker



select_rq_task() already checked that 'p->nr_cpus_allowed > 1',
'p->nr_cpus_allowed == 1' checker in scx_select_cpu_dfl() is redundant.

Signed-off-by: default avatarZhang Qiao <zhangqiao22@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent efe231d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment