All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peng Wang <rocking@whu.edu.cn>
To: tj@kernel.org, lizefan@huawei.com, hannes@cmpxchg.org
Cc: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org,
	Peng Wang <rocking@whu.edu.cn>
Subject: [PATCH] cgroup: remove unused member "cgrp_ancestor_id_storage" in struct cgroup_root
Date: Tue, 27 Nov 2018 14:53:57 +0800	[thread overview]
Message-ID: <20181127065357.28130-1-rocking@whu.edu.cn> (raw)

"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


             reply	other threads:[~2018-11-27  7:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-27  6:53 Peng Wang [this message]
2018-11-27  9:28 ` [PATCH] cgroup: remove unused member "cgrp_ancestor_id_storage" in struct cgroup_root Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181127065357.28130-1-rocking@whu.edu.cn \
    --to=rocking@whu.edu.cn \
    --cc=cgroups@vger.kernel.org \
    --cc=hannes@cmpxchg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan@huawei.com \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.