diff options
author | Tejun Heo <tj@kernel.org> | 2012-04-10 13:16:36 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-04-11 12:16:48 -0400 |
commit | 86f82d561864e902c70282b6f17cf590c0f34691 (patch) | |
tree | 1f4021c8de07899152b00ddce36f09192ee78395 /kernel/cgroup.c | |
parent | cbe128e348e5994516304f94865ff90c40c1c5ae (diff) |
cgroup: remove cgroup_subsys->populate()
With memcg converted, cgroup_subsys->populate() doesn't have any user
left. Remove it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 2905977e0f33..b2f203f25ec8 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -3842,9 +3842,6 @@ static int cgroup_populate_dir(struct cgroup *cgrp) | |||
3842 | for_each_subsys(cgrp->root, ss) { | 3842 | for_each_subsys(cgrp->root, ss) { |
3843 | struct cftype_set *set; | 3843 | struct cftype_set *set; |
3844 | 3844 | ||
3845 | if (ss->populate && (err = ss->populate(ss, cgrp)) < 0) | ||
3846 | return err; | ||
3847 | |||
3848 | list_for_each_entry(set, &ss->cftsets, node) | 3845 | list_for_each_entry(set, &ss->cftsets, node) |
3849 | cgroup_addrm_files(cgrp, ss, set->cfts, true); | 3846 | cgroup_addrm_files(cgrp, ss, set->cfts, true); |
3850 | } | 3847 | } |