From: Mike Yuan Date: Thu, 5 Jun 2025 00:14:15 +0000 (+0200) Subject: core/cgroup: drop outdated comment X-Git-Tag: v258-rc1~160^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F38089%2Fhead;p=thirdparty%2Fsystemd.git core/cgroup: drop outdated comment --- diff --git a/src/core/cgroup.c b/src/core/cgroup.c index ae322eead09..ca397059722 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -1993,8 +1993,7 @@ static int unit_watch_cgroup(Unit *u) { assert(u); - /* Watches the "cgroups.events" attribute of this unit's cgroup for "empty" events, but only if - * cgroupv2 is available. */ + /* Watches the "cgroups.events" attribute of this unit's cgroup for "empty" events. */ CGroupRuntime *crt = unit_get_cgroup_runtime(u); if (!crt || !crt->cgroup_path) @@ -2038,8 +2037,7 @@ static int unit_watch_cgroup_memory(Unit *u) { assert(u); - /* Watches the "memory.events" attribute of this unit's cgroup for "oom_kill" events, but only if - * cgroupv2 is available. */ + /* Watches the "memory.events" attribute of this unit's cgroup for "oom_kill" events. */ CGroupRuntime *crt = unit_get_cgroup_runtime(u); if (!crt || !crt->cgroup_path)