This is the follow up of: "[PATCH v1] mm/memory_hotplug: Easier calculation to get pages to next section boundary" [1] Cleanups as a follow up on commit 52fb87c81f11 ("mm/memory_hotplug: cleanup __remove_pages()"). v1 -> v2: - "mm/memory_hotplug: simplify calculation of number of pages in __remove_pages()" -- Rephrased subject/description, but left patch as is - "mm/memory_hotplug: cleanup __add_pages()" -- Make the logic match the logic in __remove_pages() [1] https://lkml.kernel.org/r/20200205135251.37488-1-david@xxxxxxxxxx David Hildenbrand (2): mm/memory_hotplug: simplify calculation of number of pages in __remove_pages() mm/memory_hotplug: cleanup __add_pages() mm/memory_hotplug.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) -- 2.24.1