From d87f943596ea26177f1876015a7a378ae2e4bf4b Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Tue, 27 May 2025 17:00:49 +0200 Subject: [PATCH] bus-print-properties: drop *CPUShares formatter --- src/shared/bus-print-properties.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shared/bus-print-properties.c b/src/shared/bus-print-properties.c index 9d0d9377b27..fb3aa8d2dbf 100644 --- a/src/shared/bus-print-properties.c +++ b/src/shared/bus-print-properties.c @@ -164,7 +164,6 @@ static int bus_print_property(const char *name, const char *expected_value, sd_b bus_print_property_value(name, expected_value, flags, "idle"); else if ((STR_IN_SET(name, "CPUWeight", "StartupCPUWeight", "IOWeight", "StartupIOWeight") && u == CGROUP_WEIGHT_INVALID) || - (STR_IN_SET(name, "CPUShares", "StartupCPUShares") && u == CGROUP_CPU_SHARES_INVALID) || (STR_IN_SET(name, "MemoryCurrent", "MemoryAvailable", "TasksCurrent") && u == UINT64_MAX) || (startswith(name, "Memory") && ENDSWITH_SET(name, "Current", "Peak") && u == CGROUP_LIMIT_MAX) || (startswith(name, "IO") && ENDSWITH_SET(name, "Bytes", "Operations") && u == UINT64_MAX) || -- 2.47.3