diff options
author | 2013-11-12 15:07:20 -0800 | |
---|---|---|
committer | 2013-11-13 12:09:04 +0900 | |
commit | b38a872596dad80bd77d98f5fdbc58cc8f438dbb (patch) | |
tree | 7c52732ea81e29f2997fd59e6cf471baf490f2e5 /mm/memory_hotplug.c | |
parent | mm: use pgdat_end_pfn() to simplify the code in others (diff) | |
download | wireguard-linux-b38a872596dad80bd77d98f5fdbc58cc8f438dbb.tar.xz wireguard-linux-b38a872596dad80bd77d98f5fdbc58cc8f438dbb.zip |
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