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

Message ID 20230625121120.27584-1-yuehaibing@huawei.com
State New
Headers
Series [-next] um/x86: Remove unsued extern declaration ldt_host_info() |

Commit Message

Yue Haibing June 25, 2023, 12:11 p.m. UTC
  This is unused now, so can remove it.

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

Patch

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 \