cgroup-setup: clarify '<=' is evaluated earlier

Follow-up for 31323f21bb.

The code is correct, but let's silence Coverity.

Closes CID#1534787.
This commit is contained in:
Yu Watanabe 2024-02-28 11:51:04 +09:00 committed by Mike Yuan
parent 630023e2e4
commit 9398ef0786

View file

@ -106,7 +106,7 @@ bool cg_is_unified_wanted(void) {
return (wanted = true);
/* If any controller is in use as v1, don't use unified. */
return (wanted = cg_any_controller_used_for_v1() <= 0);
return (wanted = (cg_any_controller_used_for_v1() <= 0));
}
bool cg_is_legacy_wanted(void) {