mm/memory_hotplug: is_mem_section_removable() can return bool
authorYaowei Bai <baiyaowei@cmss.chinamobile.com>
Fri, 20 May 2016 00:11:26 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 May 2016 02:12:14 +0000 (19:12 -0700)
commitc98940f6fa3d06fa8fec75aa2362b25227573d06
tree3930de096af7893c7730882b0361254de60e92a7
parent32f6271dbdc351dce96b11c5f3567bae8188004f
mm/memory_hotplug: is_mem_section_removable() can return bool

Make is_mem_section_removable() return bool to improve readability due
to this particular function only using either one or zero as its return
value.

Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/memory_hotplug.h
mm/memory_hotplug.c