summaryrefslogtreecommitdiffstats
path: root/lib/mpi
diff options
context:
space:
mode:
authorXishi Qiu <qiuxishi@huawei.com>2013-09-11 23:21:45 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-12 00:57:38 +0200
commit8080fc038e91265e1002df7cae805fc17bb772fc (patch)
tree1a42d8550e638b436a7f96ed333f0a4da6e5afcf /lib/mpi
parentmm: use zone_end_pfn() instead of zone_start_pfn+spanned_pages (diff)
downloadlinux-8080fc038e91265e1002df7cae805fc17bb772fc.tar.xz
linux-8080fc038e91265e1002df7cae805fc17bb772fc.zip
mm: use zone_is_empty() instead of if(zone->spanned_pages)
Use "zone_is_empty()" instead of "if (zone->spanned_pages)". 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 'lib/mpi')
0 files changed, 0 insertions, 0 deletions