diff options
Diffstat (limited to 'kernel/nsproxy.c')
-rw-r--r-- | kernel/nsproxy.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/nsproxy.c b/kernel/nsproxy.c index 5424e37673ed..d6a00f3de15d 100644 --- a/kernel/nsproxy.c +++ b/kernel/nsproxy.c | |||
@@ -201,10 +201,6 @@ int unshare_nsproxy_namespaces(unsigned long unshare_flags, | |||
201 | goto out; | 201 | goto out; |
202 | } | 202 | } |
203 | 203 | ||
204 | err = ns_cgroup_clone(current, task_pid(current)); | ||
205 | if (err) | ||
206 | put_nsproxy(*new_nsp); | ||
207 | |||
208 | out: | 204 | out: |
209 | return err; | 205 | return err; |
210 | } | 206 | } |