From: Pingfan Liu Date: Fri, 4 Jan 2019 08:46:19 +0000 (+0800) Subject: x86/trap: Remove useless declaration X-Git-Tag: v5.15~6864^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=439fbdf6a2021ab1cca94b30837674b2b7527ae8;p=platform%2Fkernel%2Flinux-starfive.git x86/trap: Remove useless declaration There is no early_trap_pf_init() implementation, hence remove this useless declaration. Signed-off-by: Pingfan Liu Signed-off-by: Thomas Gleixner Cc: Borislav Petkov Cc: "H. Peter Anvin" Link: https://lkml.kernel.org/r/1546591579-23502-1-git-send-email-kernelfans@gmail.com --- diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 3305143..2bb3a64 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;