aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r--mm/memcontrol.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index fd79df5d3152..15b040904dc3 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -6296,14 +6296,6 @@ mem_cgroup_css_online(struct cgroup *cont)
6296 6296
6297 error = memcg_init_kmem(memcg, &mem_cgroup_subsys); 6297 error = memcg_init_kmem(memcg, &mem_cgroup_subsys);
6298 mutex_unlock(&memcg_create_mutex); 6298 mutex_unlock(&memcg_create_mutex);
6299 if (error) {
6300 /*
6301 * We call put now because our (and parent's) refcnts
6302 * are already in place. mem_cgroup_put() will internally
6303 * call __mem_cgroup_free, so return directly
6304 */
6305 mem_cgroup_put(memcg);
6306 }
6307 return error; 6299 return error;
6308} 6300}
6309 6301