From: Oscar Salvador <osalvador@xxxxxxx> This patchset does some cleanups and refactoring in the memory-hotplug code. The first and the second patch are pretty straightforward, as they only remove unused arguments/checks. The third one refactors unregister_mem_sect_under_nodes. This is needed to have a proper fallback in case we could not allocate memory. (details can be seen in patch3). Oscar Salvador (3): mm/memory-hotplug: Drop unused args from remove_memory_section mm/memory_hotplug: Drop mem_blk check from unregister_mem_sect_under_nodes mm/memory_hotplug: Refactor unregister_mem_sect_under_nodes drivers/base/memory.c | 5 ++--- drivers/base/node.c | 30 +++++++++++++++--------------- include/linux/node.h | 5 ++--- 3 files changed, 19 insertions(+), 21 deletions(-) -- 2.13.6