[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181127065357.28130-1-rocking@whu.edu.cn>
Date: Tue, 27 Nov 2018 14:53:57 +0800
From: Peng Wang <rocking@....edu.cn>
To: tj@...nel.org, lizefan@...wei.com, hannes@...xchg.org
Cc: cgroups@...r.kernel.org, linux-kernel@...r.kernel.org,
Peng Wang <rocking@....edu.cn>
Subject: [PATCH] cgroup: remove unused member "cgrp_ancestor_id_storage" in struct cgroup_root
"cgrp_ancestor_id_storage" is not used, so let's clean it up.
Signed-off-by: Peng Wang <rocking@....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
Powered by blists - more mailing lists