diff options
author | Tejun Heo <tj@kernel.org> | 2014-05-14 09:15:01 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-05-14 09:15:01 -0400 |
commit | 249f3468a282dcbad53484c821bebb447f14ee03 (patch) | |
tree | 5d213373668564e6d6134fb92033a233a99097d4 /include/linux/cgroup.h | |
parent | 4e4e28472365f8c7a7c55f6b5706f68bc40c5b13 (diff) | |
download | op-kernel-dev-249f3468a282dcbad53484c821bebb447f14ee03.zip op-kernel-dev-249f3468a282dcbad53484c821bebb447f14ee03.tar.gz |
cgroup: remove cgroup_destory_css_killed()
cgroup_destroy_css_killed() is cgroup destruction stage which happens
after all csses are offlined. After the recent updates, it no longer
does anything other than putting the base reference. This patch
removes the function and makes cgroup_destroy_locked() put the base
ref at the end isntead.
This also makes cgroup->nr_css unnecessary. Removed.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'include/linux/cgroup.h')
-rw-r--r-- | include/linux/cgroup.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 164851e..160fcc6 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h @@ -158,9 +158,6 @@ struct cgroup { */ int id; - /* the number of attached css's */ - int nr_css; - /* * If this cgroup contains any tasks, it contributes one to * populated_cnt. All children with non-zero popuplated_cnt of |