OSDN Git Service

cgroup:namespace: Remove unused cgroup_namespaces_init()
authorLu Jialin <lujialin4@huawei.com>
Thu, 10 Aug 2023 11:25:28 +0000 (11:25 +0000)
committerTejun Heo <tj@kernel.org>
Tue, 15 Aug 2023 00:29:47 +0000 (14:29 -1000)
commit82b90b6c5b38e457c7081d50dff11ecbafc1e61a
tree4f089933a48ca55ee5b53277e4438abc9886f76f
parent0437719c1a97791481c5fd59642494f2108701a8
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: a79a908fd2b0 ("cgroup: introduce cgroup namespaces")
Signed-off-by: Lu Jialin <lujialin4@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/namespace.c