mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
cgroup: remove cgroup_subsys->populate()
With memcg converted, cgroup_subsys->populate() doesn't have any user left. Remove it. Signed-off-by: Tejun Heo <[email protected]> Acked-by: Li Zefan <[email protected]>
This commit is contained in:
parent
cbe128e348
commit
86f82d5618
2 changed files with 0 additions and 4 deletions
|
|
@ -3842,9 +3842,6 @@ static int cgroup_populate_dir(struct cgroup *cgrp)
|
|||
for_each_subsys(cgrp->root, ss) {
|
||||
struct cftype_set *set;
|
||||
|
||||
if (ss->populate && (err = ss->populate(ss, cgrp)) < 0)
|
||||
return err;
|
||||
|
||||
list_for_each_entry(set, &ss->cftsets, node)
|
||||
cgroup_addrm_files(cgrp, ss, set->cfts, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue