commit | b38a872596dad80bd77d98f5fdbc58cc8f438dbb | [log] [tgz] |
---|---|---|
author | Xishi Qiu <qiuxishi@huawei.com> | Tue Nov 12 15:07:20 2013 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Nov 13 12:09:04 2013 +0900 |
tree | 7c52732ea81e29f2997fd59e6cf471baf490f2e5 | |
parent | 83285c72e08c42848808039ef2d3b67a1bb88832 [diff] |
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>