diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memcontrol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index e2b98a6875c0..21a30629ca80 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -447,9 +447,10 @@ static struct mem_cgroup_per_zone * | |||
447 | __mem_cgroup_largest_soft_limit_node(struct mem_cgroup_tree_per_zone *mctz) | 447 | __mem_cgroup_largest_soft_limit_node(struct mem_cgroup_tree_per_zone *mctz) |
448 | { | 448 | { |
449 | struct rb_node *rightmost = NULL; | 449 | struct rb_node *rightmost = NULL; |
450 | struct mem_cgroup_per_zone *mz = NULL; | 450 | struct mem_cgroup_per_zone *mz; |
451 | 451 | ||
452 | retry: | 452 | retry: |
453 | mz = NULL; | ||
453 | rightmost = rb_last(&mctz->rb_root); | 454 | rightmost = rb_last(&mctz->rb_root); |
454 | if (!rightmost) | 455 | if (!rightmost) |
455 | goto done; /* Nothing to reclaim from */ | 456 | goto done; /* Nothing to reclaim from */ |