mm: use populated_zone() instead of if(zone->present_pages)
authorXishi Qiu <qiuxishi@huawei.com>
Tue, 12 Nov 2013 23:07:20 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:04 +0000 (12:09 +0900)
commitb38a872596dad80bd77d98f5fdbc58cc8f438dbb
tree7c52732ea81e29f2997fd59e6cf471baf490f2e5
parent83285c72e08c42848808039ef2d3b67a1bb88832
mm: use populated_zone() instead of if(zone->present_pages)

Use "if (zone->present_pages)" instead of "if (zone->present_pages)".
Simplify the code, no functional change.

Signed-off-by: Xishi Qiu <qiuxishi@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c