ACPI: Remove unused extern declaration acpi_paddr_to_node()
authorYueHaibing <yuehaibing@huawei.com>
Sat, 22 Jul 2023 02:55:05 +0000 (10:55 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Aug 2023 17:34:34 +0000 (19:34 +0200)
This is never used since commit 1e3590e2e4a3 ("[PATCH] pgdat allocation
for new node add (get node id by acpi)").

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/acpi.h

index 641dc48439873a43253d28feaf5e1f9780e3325b..58a0fdf68ca23dd5ae0185fe34d82f329fbe2761 100644 (file)
@@ -477,8 +477,6 @@ static inline int acpi_get_node(acpi_handle handle)
        return 0;
 }
 #endif
-extern int acpi_paddr_to_node(u64 start_addr, u64 size);
-
 extern int pnpacpi_disabled;
 
 #define PXM_INVAL      (-1)