]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: Remove return value of ftrace_arch_modify_*()
authorLi kunyu <kunyu@nfschina.com>
Wed, 18 May 2022 02:36:40 +0000 (10:36 +0800)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 27 May 2022 01:13:00 +0000 (21:13 -0400)
commitba3246886180c93bf187f713255a81c221d90f5d
tree426e43bc9232f9e582087ed9b7e9f644c5459030
parent1bcfe6f6c1025e5740566a01e8ecb70e6bf56cea
ftrace: Remove return value of ftrace_arch_modify_*()

All instances of the function ftrace_arch_modify_prepare() and
  ftrace_arch_modify_post_process() return zero. There's no point in
  checking their return value. Just have them be void functions.

Link: https://lkml.kernel.org/r/20220518023639.4065-1-kunyu@nfschina.com
Signed-off-by: Li kunyu <kunyu@nfschina.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
arch/arm/kernel/ftrace.c
arch/riscv/kernel/ftrace.c
arch/s390/kernel/ftrace.c
arch/x86/kernel/ftrace.c
include/linux/ftrace.h
kernel/trace/ftrace.c