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)
commitd7e4a2ea51c1b0ac0b2d53f5ab4a2e878b1c4aec
treed3a3c0f1f5fa70f1134ecd01c1e22621fe50f5ae
parentbdddbcd45fd191a0213e6d2a032eb55d18bd1fc0
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