]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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>
Tue, 19 Sep 2023 10:22:47 +0000 (12:22 +0200)
commit6248f4305378285e5cde74ffdb249c9ea3ba7cf0
tree68e82825b856aa8eb886e79c9cc4346c95ad082d
parent04824d50e6b5ff012c27e808038edc84e4b5e8ed
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