]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/sched_ext: Remove unused nr_cpus in scx_cpu0
authorCheng-Yang Chou <yphbchou0911@gmail.com>
Tue, 21 Apr 2026 05:31:13 +0000 (13:31 +0800)
committerTejun Heo <tj@kernel.org>
Tue, 21 Apr 2026 06:05:11 +0000 (20:05 -1000)
commit12ff49d4e1d9df09320b19a0c33477f9cc737baf
tree3f5ce554aeb8f5561981de6f59d9419af4e10b7a
parent463a4436d64e825b822c51277e3ed1ab7af741be
tools/sched_ext: Remove unused nr_cpus in scx_cpu0

The nr_cpus variable is defined in scx_cpu0.bpf.c but never used in
the BPF logic. Remove both in BPF and userspace side.

Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/sched_ext/scx_cpu0.bpf.c
tools/sched_ext/scx_cpu0.c