]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/cgroup: drop unneeded cast
authorMike Yuan <me@yhndnzj.com>
Sat, 5 Jul 2025 23:46:59 +0000 (01:46 +0200)
committerMike Yuan <me@yhndnzj.com>
Mon, 7 Jul 2025 15:55:12 +0000 (17:55 +0200)
src/core/cgroup.c

index 641523e5b1af7506c20bc5f1ee2f1f668e3cce35..9c5e3c41a52facc120debd07d200007a810cc5cd 100644 (file)
@@ -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