Skip to contentSkip to conversation

x86/trap: remove useless declaration

PATCH New Pingfan Liu 2 participants 2 messages Jan 4, 2019 – Jan 29, 2019 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/trap: remove useless declaration

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

Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
---
 arch/x86/include/asm/processor.h | 1 -
 1 file changed, 1 deletion(-)
arch/x86/include/asm/processor.h +0 -1
index 071b2a6..88a7365 100644
@@ -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;
Signature · 1 line
2.7.4
#1 lore raw

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

x86/trap: Remove useless declaration
Commit-ID:  439fbdf6a2021ab1cca94b30837674b2b7527ae8
Gitweb:     https://git.kernel.org/tip/439fbdf6a2021ab1cca94b30837674b2b7527ae8
Author:     Pingfan Liu <[email protected]>
AuthorDate: Fri, 4 Jan 2019 16:46:19 +0800
Committer:  Thomas Gleixner <[email protected]>
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.

---
 arch/x86/include/asm/processor.h | 1 -
 1 file changed, 1 deletion(-)
arch/x86/include/asm/processor.h +0 -1
index 33051436c864..2bb3a648fc12 100644
@@ -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;