[PATCH v4 1/4] mm/memory-hotplug: Drop unused args from remove_memory_section

2018-08-17 Thread Oscar Salvador
From: Oscar Salvador unregister_memory_section() calls remove_memory_section() with three arguments: * node_id * section * phys_device Neither node_id nor phys_device are used. Let us drop them from the function. Signed-off-by: Oscar Salvador Reviewed-by: David Hildenbrand Reviewed-by:

[PATCH v4 1/4] mm/memory-hotplug: Drop unused args from remove_memory_section

2018-08-17 Thread Oscar Salvador
From: Oscar Salvador unregister_memory_section() calls remove_memory_section() with three arguments: * node_id * section * phys_device Neither node_id nor phys_device are used. Let us drop them from the function. Signed-off-by: Oscar Salvador Reviewed-by: David Hildenbrand Reviewed-by: