diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memcontrol.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 64f726599ff0..6b73d8657d64 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -6352,8 +6352,6 @@ mem_cgroup_css_online(struct cgroup *cont) | |||
6352 | * call __mem_cgroup_free, so return directly | 6352 | * call __mem_cgroup_free, so return directly |
6353 | */ | 6353 | */ |
6354 | mem_cgroup_put(memcg); | 6354 | mem_cgroup_put(memcg); |
6355 | if (parent->use_hierarchy) | ||
6356 | mem_cgroup_put(parent); | ||
6357 | } | 6355 | } |
6358 | return error; | 6356 | return error; |
6359 | } | 6357 | } |