diff options
author | Weizhao Ouyang | 2021-09-09 17:02:16 +0800 |
---|---|---|
committer | Steven Rostedt (VMware) | 2021-10-08 19:41:39 -0400 |
commit | 6644c654ea70e0d8b8d5111e1272f8f29df00f21 (patch) | |
tree | 03020f0fc52e7cf54561dbd8de4ce737c955cc5a /arch/riscv | |
parent | 21ccc9cd72116289469e5519b6159c675a2fa58f (diff) |
ftrace: Cleanup ftrace_dyn_arch_init()
Most of ARCHs use empty ftrace_dyn_arch_init(), introduce a weak common
ftrace_dyn_arch_init() to cleanup them.
Link: https://lkml.kernel.org/r/20210909090216.1955240-1-o451686892@gmail.com
Acked-by: Heiko Carstens <hca@linux.ibm.com> (s390)
Acked-by: Helge Deller <deller@gmx.de> (parisc)
Signed-off-by: Weizhao Ouyang <o451686892@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/kernel/ftrace.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/riscv/kernel/ftrace.c b/arch/riscv/kernel/ftrace.c index 7f1e5203de88..4716f4cdc038 100644 --- a/arch/riscv/kernel/ftrace.c +++ b/arch/riscv/kernel/ftrace.c @@ -154,11 +154,6 @@ int ftrace_update_ftrace_func(ftrace_func_t func) return ret; } - -int __init ftrace_dyn_arch_init(void) -{ - return 0; -} #endif #ifdef CONFIG_DYNAMIC_FTRACE_WITH_REGS |