2023-06-25 12:38:30

by Yue Haibing

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

This is unused now, so can remove it.

Signed-off-by: YueHaibing <[email protected]>
---
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