]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad6645e192ed046b33e021b591e4f96f04d6266f
treed3a3c0f1f5fa70f1134ecd01c1e22621fe50f5ae
parent01f21497d13bb7241e3c3f107bf05c348f852914
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