diff options
author | Xishi Qiu <qiuxishi@huawei.com> | 2013-11-12 15:07:20 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 12:09:04 +0900 |
commit | b38a872596dad80bd77d98f5fdbc58cc8f438dbb (patch) | |
tree | 7c52732ea81e29f2997fd59e6cf471baf490f2e5 /mm/memory_hotplug.c | |
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>
Diffstat (limited to 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions