Commit 82b90b6c authored by Lu Jialin's avatar Lu Jialin Committed by Tejun Heo

cgroup:namespace: Remove unused cgroup_namespaces_init()

cgroup_namspace_init() just return 0. Therefore, there is no need to
call it during start_kernel. Just remove it.

Fixes: a79a908f ("cgroup: introduce cgroup namespaces")
Signed-off-by: default avatarLu Jialin <lujialin4@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 0437719c
......@@ -149,9 +149,3 @@ const struct proc_ns_operations cgroupns_operations = {
.install = cgroupns_install,
.owner = cgroupns_owner,
};
static __init int cgroup_namespaces_init(void)
{
return 0;
}
subsys_initcall(cgroup_namespaces_init);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment