cgroup:namespace: Remove unused cgroup_namespaces_init()
authorLu Jialin <lujialin4@huawei.com>
Thu, 10 Aug 2023 11:25:28 +0000 (11:25 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:42:56 +0000 (09:42 +0200)
commit848cd6f24aa72fc4f7cc2dbca6edb41edf059de5
treeaf792c440093ca566f882e0a146983a9c9013be3
parent0d545a8e77cbd1fbad311b18952e38e0f7672ab4
cgroup:namespace: Remove unused cgroup_namespaces_init()

[ Upstream commit 82b90b6c5b38e457c7081d50dff11ecbafc1e61a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/cgroup/namespace.c