[PATCH 2/3] x86/xen: Remove inert tracepoint in __init code

From: Josh Poimboeuf
Date: Wed Feb 14 2018 - 11:42:23 EST


The jump_label code doesn't patch init code, so this tracepoint can
never be enabled. Remove it.

Cc: Juergen Gross <jgross@xxxxxxxx>
Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
---
arch/x86/xen/enlighten_pv.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/x86/xen/enlighten_pv.c b/arch/x86/xen/enlighten_pv.c
index c047f42552e1..0dbfad92f442 100644
--- a/arch/x86/xen/enlighten_pv.c
+++ b/arch/x86/xen/enlighten_pv.c
@@ -803,8 +803,6 @@ static void xen_write_gdt_entry(struct desc_struct *dt, int entry,
static void __init xen_write_gdt_entry_boot(struct desc_struct *dt, int entry,
const void *desc, int type)
{
- trace_xen_cpu_write_gdt_entry(dt, entry, desc, type);
-
switch (type) {
case DESC_LDT:
case DESC_TSS:
--
2.14.3