diff options
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r-- | mm/memcontrol.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 660dfc27d971..b35a28d80ab5 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -1043,9 +1043,6 @@ mem_cgroup_get_reclaim_stat_from_page(struct page *page) | |||
1043 | /* Ensure pc->mem_cgroup is visible after reading PCG_USED. */ | 1043 | /* Ensure pc->mem_cgroup is visible after reading PCG_USED. */ |
1044 | smp_rmb(); | 1044 | smp_rmb(); |
1045 | mz = page_cgroup_zoneinfo(pc->mem_cgroup, page); | 1045 | mz = page_cgroup_zoneinfo(pc->mem_cgroup, page); |
1046 | if (!mz) | ||
1047 | return NULL; | ||
1048 | |||
1049 | return &mz->reclaim_stat; | 1046 | return &mz->reclaim_stat; |
1050 | } | 1047 | } |
1051 | 1048 | ||