]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cpuset: remove unused assignment to trialcs->partition_root_state
authorChen Ridong <chenridong@huawei.com>
Wed, 17 Sep 2025 06:04:45 +0000 (06:04 +0000)
committerTejun Heo <tj@kernel.org>
Wed, 17 Sep 2025 18:35:28 +0000 (08:35 -1000)
commitbba0ccf829b904e6d1f119d94f01d7209d34ba28
tree3220ed33d305e677dc86db3f312b414d3f0200bf
parentb783a6265589783e297f8dc4647a31d870d8396e
cpuset: remove unused assignment to trialcs->partition_root_state

The trialcs->partition_root_state field is not used during the
configuration of 'cpuset.cpus' or 'cpuset.cpus.exclusive'. Therefore,
the assignment of values to this field can be safely removed.

Signed-off-by: Chen Ridong <chenridong@huawei.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cpuset.c