[PATCH 3/3] percpu: Remove inert tracepoint in __init code

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


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

Cc: Tejun Heo <tj@xxxxxxxxxx>
Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
---
mm/percpu.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/mm/percpu.c b/mm/percpu.c
index 50e7fdf84055..3216364ad91b 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -2156,7 +2156,6 @@ int __init pcpu_setup_first_chunk(const struct pcpu_alloc_info *ai,
pcpu_chunk_relocate(pcpu_first_chunk, -1);

pcpu_stats_chunk_alloc();
- trace_percpu_create_chunk(base_addr);

/* we're done */
pcpu_base_addr = base_addr;
--
2.14.3