# \[PATCH\] cgroup: Remove stale comments

- From: Li Feng \<hidden\>
- Date: 2021-01-13 06:30:55 
- List: cgroups
- Page: https://ratatoskr.run/cgroups/2021/01/6232935
- Thread: https://ratatoskr.run/cgroups/2021/01/6232935/t.md

```text
The function "cgroup_mount" had beed removed, remove related comments
to prevent confusion.

Related commit:90129625d9203a917f(cgroup: start switching to fs_context)

Signed-off-by: Li Feng <redacted>
---
 kernel/cgroup/cgroup.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index 613845769103..493547b4941c 100644
--- a/kernel/cgroup/cgroup.c
+++ b/kernel/cgroup/cgroup.c
@@ -2139,7 +2139,6 @@ static void cgroup_kill_sb(struct super_block *sb)
 	/*
 	 * If @root doesn't have any children, start killing it.
 	 * This prevents new mounts by disabling percpu_ref_tryget_live().
-	 * cgroup_mount() may wait for @root's release.
 	 *
 	 * And don't kill the default root.
 	 */
-- 
2.25.1


```
