[0/3] Refactor/cleanup for remove_memory_section/unregister_mem_sect_under_nodes
mbox series

Message ID 20180810152931.23004-1-osalvador@techadventures.net
Headers show
  • Refactor/cleanup for remove_memory_section/unregister_mem_sect_under_nodes
Related show


Oscar Salvador Aug. 10, 2018, 3:29 p.m. UTC
From: Oscar Salvador <osalvador@suse.de>

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
  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(-)