[PATCH 0/3] Refactor/cleanup for remove_memory_section/unregister_mem_sect_under_nodes

From: osalvador
Date: Fri Aug 10 2018 - 11:29:55 EST


From: Oscar Salvador <osalvador@xxxxxxx>

This patchset is about cleaning up/refactoring a few functions
from the memory-hotplug code.

The first and the second patch are pretty straightforward, as they
only remove unused arguments/checks.
The third one change the layout of the unregister_mem_sect_under_nodes a bit.

Oscar Salvador (3):
mm/memory_hotplug: Drop unused args from remove_memory_section
mm/memory_hotplug: Drop unneeded check from
unregister_mem_sect_under_nodes
mm/memory_hotplug: Cleanup unregister_mem_sect_under_nodes

drivers/base/memory.c | 5 ++---
drivers/base/node.c | 34 +++++++++++-----------------------
2 files changed, 13 insertions(+), 26 deletions(-)

--
2.13.6