"cgrp_ancestor_id_storage" is not used, so let's clean it up.
Signed-off-by: Peng Wang <[email protected]>
---
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
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