diff options
Diffstat (limited to 'fs/proc/root.c')
-rw-r--r-- | fs/proc/root.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c index fc1609321a78..f2f251158d35 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c | |||
@@ -155,11 +155,6 @@ void __init proc_root_init(void) | |||
155 | err = register_filesystem(&proc_fs_type); | 155 | err = register_filesystem(&proc_fs_type); |
156 | if (err) | 156 | if (err) |
157 | return; | 157 | return; |
158 | err = pid_ns_prepare_proc(&init_pid_ns); | ||
159 | if (err) { | ||
160 | unregister_filesystem(&proc_fs_type); | ||
161 | return; | ||
162 | } | ||
163 | 158 | ||
164 | proc_self_init(); | 159 | proc_self_init(); |
165 | proc_symlink("mounts", NULL, "self/mounts"); | 160 | proc_symlink("mounts", NULL, "self/mounts"); |