From: Mike Yuan Date: Sat, 5 Jul 2025 23:46:59 +0000 (+0200) Subject: core/cgroup: drop unneeded cast X-Git-Tag: v258-rc1~147^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=09f380e4e76cc776c4a2a7ba36da8c2160bc8935;p=thirdparty%2Fsystemd.git core/cgroup: drop unneeded cast --- diff --git a/src/core/cgroup.c b/src/core/cgroup.c index 641523e5b1a..9c5e3c41a52 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -57,7 +57,7 @@ #include "bpf/restrict_fs/restrict-fs-skel.h" #endif -#define CGROUP_CPU_QUOTA_DEFAULT_PERIOD_USEC ((usec_t) 100 * USEC_PER_MSEC) +#define CGROUP_CPU_QUOTA_DEFAULT_PERIOD_USEC (100 * USEC_PER_MSEC) /* Returns the log level to use when cgroup attribute writes fail. When an attribute is missing or we have access * problems we downgrade to LOG_DEBUG. This is supposed to be nice to container managers and kernels which want to mask