projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0437719
)
cgroup:namespace: Remove unused cgroup_namespaces_init()
author
Lu Jialin
<lujialin4@huawei.com>
Thu, 10 Aug 2023 11:25:28 +0000
(11:25 +0000)
committer
Tejun Heo
<tj@kernel.org>
Tue, 15 Aug 2023 00:29:47 +0000
(14:29 -1000)
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
patch
|
blob
|
history
diff --git
a/kernel/cgroup/namespace.c
b/kernel/cgroup/namespace.c
index
0d5c298
..
144a464
100644
(file)
--- a/
kernel/cgroup/namespace.c
+++ b/
kernel/cgroup/namespace.c
@@
-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);