diff options
-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 0356cb6c9504..5f7b0e1d789c 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -370,9 +370,6 @@ page_cgroup_zoneinfo(struct page_cgroup *pc) | |||
370 | int nid = page_cgroup_nid(pc); | 370 | int nid = page_cgroup_nid(pc); |
371 | int zid = page_cgroup_zid(pc); | 371 | int zid = page_cgroup_zid(pc); |
372 | 372 | ||
373 | if (!mem) | ||
374 | return NULL; | ||
375 | |||
376 | return mem_cgroup_zoneinfo(mem, nid, zid); | 373 | return mem_cgroup_zoneinfo(mem, nid, zid); |
377 | } | 374 | } |
378 | 375 | ||