Commit 93db2ae
committed
cgroup/cpuset: drop useless cpumask_empty() in compute_effective_exclusive_cpumask()
JIRA: https://issues.redhat.com/browse/RHEL-107751
commit 225c036
Author: Yury Norov <yury.norov@gmail.com>
Date: Thu, 8 May 2025 15:32:06 -0400
cgroup/cpuset: drop useless cpumask_empty() in compute_effective_exclusive_cpumask()
Empty cpumasks can't intersect with any others. Therefore, testing for
non-emptyness is useless.
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Waiman Long <longman@redhat.com>1 parent afd05be commit 93db2ae
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1404 | 1404 | | |
1405 | 1405 | | |
1406 | 1406 | | |
1407 | | - | |
1408 | | - | |
| 1407 | + | |
1409 | 1408 | | |
1410 | 1409 | | |
1411 | 1410 | | |
1412 | 1411 | | |
1413 | | - | |
1414 | | - | |
| 1412 | + | |
1415 | 1413 | | |
1416 | 1414 | | |
1417 | 1415 | | |
| |||
0 commit comments