[PATCH -next] um/x86: Remove unsued extern declaration ldt_host_info()

YueHaibing yuehaibing at huawei.com
Sun Jun 25 05:11:20 PDT 2023


This is unused now, so can remove it.

Signed-off-by: YueHaibing <yuehaibing at huawei.com>
---
 arch/x86/um/asm/mm_context.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/x86/um/asm/mm_context.h b/arch/x86/um/asm/mm_context.h
index 4a73d63e4760..dc32dc023c2f 100644
--- a/arch/x86/um/asm/mm_context.h
+++ b/arch/x86/um/asm/mm_context.h
@@ -11,8 +11,6 @@
 #include <linux/mutex.h>
 #include <asm/ldt.h>
 
-extern void ldt_host_info(void);
-
 #define LDT_PAGES_MAX \
 	((LDT_ENTRIES * LDT_ENTRY_SIZE)/PAGE_SIZE)
 #define LDT_ENTRIES_PER_PAGE \
-- 
2.34.1




More information about the linux-um mailing list