diff mbox series

[-next] ACPI: Remove unsued extern declaration acpi_paddr_to_node()

Message ID 20230722025505.5052-1-yuehaibing@huawei.com
State Accepted
Commit 588b51ddc7dc96c4876e71bc155bd38a6bd59a14
Headers show
Series [-next] ACPI: Remove unsued extern declaration acpi_paddr_to_node() | expand

Commit Message

Yue Haibing July 22, 2023, 2:55 a.m. UTC
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>
---
 include/linux/acpi.h | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 641dc4843987..58a0fdf68ca2 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -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)