From: Mike Yuan Date: Tue, 27 May 2025 15:00:49 +0000 (+0200) Subject: bus-print-properties: drop *CPUShares formatter X-Git-Tag: v258-rc1~468^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d87f943596ea26177f1876015a7a378ae2e4bf4b;p=thirdparty%2Fsystemd.git bus-print-properties: drop *CPUShares formatter --- 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) ||