aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/memcontrol.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 194721839cf5..fd79df5d3152 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -6303,8 +6303,6 @@ mem_cgroup_css_online(struct cgroup *cont)
6303 * call __mem_cgroup_free, so return directly 6303 * call __mem_cgroup_free, so return directly
6304 */ 6304 */
6305 mem_cgroup_put(memcg); 6305 mem_cgroup_put(memcg);
6306 if (parent->use_hierarchy)
6307 mem_cgroup_put(parent);
6308 } 6306 }
6309 return error; 6307 return error;
6310} 6308}