Simplify onlining code and get rid of find_memory_block(). Pass in the nid from the memory block we are trying to online directly, instead of manually looking it up. David Hildenbrand (2): mm/memory_hotplug: pass in nid to online_pages() drivers/base/memory.c: get rid of find_memory_block() drivers/base/memory.c | 15 ++++----------- include/linux/memory.h | 1 - include/linux/memory_hotplug.h | 3 ++- mm/memory_hotplug.c | 13 ++----------- 4 files changed, 8 insertions(+), 24 deletions(-) -- 2.24.1