summaryrefslogtreecommitdiffstats
path: root/mm/readahead.c
diff options
context:
space:
mode:
authorXishi Qiu <qiuxishi@huawei.com>2013-09-11 23:21:46 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-12 00:57:39 +0200
commit139c2d75b4e81d449d97f1f8188b84529eb56708 (patch)
treef4c8f6961db9f8fc11f8eb21f0a7faea1cd29bdb /mm/readahead.c
parentmm: use zone_is_empty() instead of if(zone->spanned_pages) (diff)
downloadlinux-139c2d75b4e81d449d97f1f8188b84529eb56708.tar.xz
linux-139c2d75b4e81d449d97f1f8188b84529eb56708.zip
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>
Diffstat (limited to 'mm/readahead.c')
0 files changed, 0 insertions, 0 deletions