]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: use populated_zone() instead of if(zone->present_pages)
authorXishi Qiu <qiuxishi@huawei.com>
Tue, 5 Nov 2013 05:55:27 +0000 (16:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:55:27 +0000 (16:55 +1100)
commitab4f5f7ec0e10d0b4413afdcecfc2c438fba4e38
tree5c7bb3f5d751d2c505a28eca251f58893e6e3f33
parent626251defeb3fa3f7b69704c2fd5c20d74efd433
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>
mm/page_alloc.c