[tip:x86/cleanups] x86/trap: Remove useless declaration

From: tip-bot for Pingfan Liu
Date: Tue Jan 29 2019 - 16:13:07 EST


Commit-ID: 439fbdf6a2021ab1cca94b30837674b2b7527ae8
Gitweb: https://git.kernel.org/tip/439fbdf6a2021ab1cca94b30837674b2b7527ae8
Author: Pingfan Liu <kernelfans@xxxxxxxxx>
AuthorDate: Fri, 4 Jan 2019 16:46:19 +0800
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitDate: Tue, 29 Jan 2019 22:09:12 +0100

x86/trap: Remove useless declaration

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

Signed-off-by: Pingfan Liu <kernelfans@xxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxxxx>
Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
Link: https://lkml.kernel.org/r/1546591579-23502-1-git-send-email-kernelfans@xxxxxxxxx


---
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 33051436c864..2bb3a648fc12 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;