mm: refactor zone_movable_is_highmem()
authorZhang Zhen <zhenzhang.zhang@huawei.com>
Wed, 15 Apr 2015 23:12:57 +0000 (16:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 Apr 2015 23:35:16 +0000 (16:35 -0700)
commitb400d0c5df1f4d278bda29cac1cf7122f88cce9b
treed3a3c0f1f5fa70f1134ecd01c1e22621fe50f5ae
parent2b9aacca73e8392cf01586510ca22b4fb4e36d5d
mm: refactor zone_movable_is_highmem()

All callers of zone_movable_is_highmem are under #ifdef CONFIG_HIGHMEM,
so the else branch return 0 is not needed.

Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmzone.h