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 | |
parent | 4e4e28472365f8c7a7c55f6b5706f68bc40c5b13 (diff) |
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')
-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 164851e388e7..160fcc69149e 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
@@ -158,9 +158,6 @@ struct cgroup { | |||
158 | */ | 158 | */ |
159 | int id; | 159 | int id; |
160 | 160 | ||
161 | /* the number of attached css's */ | ||
162 | int nr_css; | ||
163 | |||
164 | /* | 161 | /* |
165 | * If this cgroup contains any tasks, it contributes one to | 162 | * If this cgroup contains any tasks, it contributes one to |
166 | * populated_cnt. All children with non-zero popuplated_cnt of | 163 | * populated_cnt. All children with non-zero popuplated_cnt of |