mm/memory_hotplug: remove nid parameter from arch_remove_memory()
[platform/kernel/linux-starfive.git] / arch / s390 / mm / init.c
index 8ac710d..d85bd7f 100644 (file)
@@ -306,8 +306,7 @@ int arch_add_memory(int nid, u64 start, u64 size,
        return rc;
 }
 
-void arch_remove_memory(int nid, u64 start, u64 size,
-                       struct vmem_altmap *altmap)
+void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap)
 {
        unsigned long start_pfn = start >> PAGE_SHIFT;
        unsigned long nr_pages = size >> PAGE_SHIFT;