csky: ftrace: Drop duplicate implementation of arch_check_ftrace_location()
authorPunit Agrawal <punitagrawal@gmail.com>
Tue, 14 Sep 2021 14:39:06 +0000 (23:39 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 1 Oct 2021 01:24:05 +0000 (21:24 -0400)
commit71bdc8fe22ace3554144911a49d5d973b7e8a49f
treeff802194ae59fe68d147d05a033e845394aaa424
parent02afb8d6048d6526619e6e2dcdc95ce9c2bdb52f
csky: ftrace: Drop duplicate implementation of arch_check_ftrace_location()

The csky specific arch_check_ftrace_location() shadows a weak
implementation of the function in core code that offers the same
functionality but with additional error checking.

Drop the architecture specific function as a step towards further
cleanup in core code.

Link: https://lkml.kernel.org/r/163163034617.489837.7789033031868135258.stgit@devnote2
Signed-off-by: Punit Agrawal <punitagrawal@gmail.com>
Acked-by: Guo Ren <guoren@kernel.org>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
arch/csky/kernel/probes/ftrace.c