aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/ftrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/ftrace.c')
-rw-r--r--arch/mips/kernel/ftrace.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/kernel/ftrace.c b/arch/mips/kernel/ftrace.c
index 185ba258361b..013016bec9e1 100644
--- a/arch/mips/kernel/ftrace.c
+++ b/arch/mips/kernel/ftrace.c
@@ -206,9 +206,6 @@ int __init ftrace_dyn_arch_init(void *data)
206 /* Remove "b ftrace_stub" to ensure ftrace_caller() is executed */ 206 /* Remove "b ftrace_stub" to ensure ftrace_caller() is executed */
207 ftrace_modify_code(MCOUNT_ADDR, INSN_NOP); 207 ftrace_modify_code(MCOUNT_ADDR, INSN_NOP);
208 208
209 /* The return code is retured via data */
210 *(unsigned long *)data = 0;
211
212 return 0; 209 return 0;
213} 210}
214#endif /* CONFIG_DYNAMIC_FTRACE */ 211#endif /* CONFIG_DYNAMIC_FTRACE */