cpuset: remove is_prs_invalid helper
authorChen Ridong <chenridong@huawei.com>
Mon, 22 Sep 2025 13:02:33 +0000 (13:02 +0000)
committerTejun Heo <tj@kernel.org>
Mon, 22 Sep 2025 22:57:46 +0000 (12:57 -1000)
commit8f0fdbd4a06bf795c68bc9839d9c349ab592654f
tree9c9e762ba831a66e2e42b8580b98a18e2ddb8bfd
parent39431592e93530d7f543e3d7204a8f9a062e6ac7
cpuset: remove is_prs_invalid helper

The is_prs_invalid helper function is redundant as it serves a similar
purpose to is_partition_invalid. It can be fully replaced by the existing
is_partition_invalid function, so this patch removes the is_prs_invalid
helper.

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