[PATCH] x86/trap: remove useless declaration

From: Pingfan Liu
Date: Fri Jan 04 2019 - 03:46:44 EST


There is no early_trap_pf_init() implementation, hence removing this
useless declaration

Signed-off-by: Pingfan Liu <kernelfans@xxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxxxx>
Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx

---
arch/x86/include/asm/processor.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index 071b2a6..88a7365 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -742,7 +742,6 @@ enum idle_boot_override {IDLE_NO_OVERRIDE=0, IDLE_HALT, IDLE_NOMWAIT,
extern void enable_sep_cpu(void);
extern int sysenter_setup(void);

-void early_trap_pf_init(void);

/* Defined in head.S */
extern struct desc_ptr early_gdt_descr;
--
2.7.4