mm: use zone_is_initialized() instead of if(zone->wait_table)
authorXishi Qiu <qiuxishi@huawei.com>
Wed, 11 Sep 2013 21:21:46 +0000 (14:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:57:39 +0000 (15:57 -0700)
commit139c2d75b4e81d449d97f1f8188b84529eb56708
treef4c8f6961db9f8fc11f8eb21f0a7faea1cd29bdb
parent8080fc038e91265e1002df7cae805fc17bb772fc
mm: use zone_is_initialized() instead of if(zone->wait_table)

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

Signed-off-by: Xishi Qiu <qiuxishi@huawei.com>
Cc: Cody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory_hotplug.c