* [PATCH] cgroup: remove unused member "cgrp_ancestor_id_storage" in struct cgroup_root
@ 2018-11-27 6:53 Peng Wang
2018-11-27 9:28 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Peng Wang @ 2018-11-27 6:53 UTC (permalink / raw)
To: tj, lizefan, hannes; +Cc: cgroups, linux-kernel, Peng Wang
"cgrp_ancestor_id_storage" is not used, so let's clean it up.
Signed-off-by: Peng Wang <rocking@whu.edu.cn>
---
include/linux/cgroup-defs.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h
index 5e1694fe035b..639a96576ef3 100644
--- a/include/linux/cgroup-defs.h
+++ b/include/linux/cgroup-defs.h
@@ -467,9 +467,6 @@ struct cgroup_root {
/* The root cgroup. Root is destroyed on its release. */
struct cgroup cgrp;
- /* for cgrp->ancestor_ids[0] */
- int cgrp_ancestor_id_storage;
-
/* Number of cgroups in the hierarchy, used only for /proc/cgroups */
atomic_t nr_cgrps;
--
2.19.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] cgroup: remove unused member "cgrp_ancestor_id_storage" in struct cgroup_root
2018-11-27 6:53 [PATCH] cgroup: remove unused member "cgrp_ancestor_id_storage" in struct cgroup_root Peng Wang
@ 2018-11-27 9:28 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2018-11-27 9:28 UTC (permalink / raw)
To: Peng Wang; +Cc: lizefan, hannes, cgroups, linux-kernel
On Tue, Nov 27, 2018 at 02:53:57PM +0800, Peng Wang wrote:
> "cgrp_ancestor_id_storage" is not used, so let's clean it up.
It is being used.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-27 9:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-27 6:53 [PATCH] cgroup: remove unused member "cgrp_ancestor_id_storage" in struct cgroup_root Peng Wang
2018-11-27 9:28 ` Tejun Heo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.