From b6fde0875be939648a7606a607cd77ad46c54278 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Thu, 5 Jun 2025 02:14:15 +0200 Subject: [PATCH] core/cgroup: drop outdated comment --- src/core/cgroup.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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) -- 2.47.3