]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
function_graph: Remove unnecessary initialization in ftrace_graph_ret_addr()
authorOleg Nesterov <oleg@redhat.com>
Mon, 16 Sep 2024 17:58:19 +0000 (19:58 +0200)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sat, 5 Oct 2024 14:14:04 +0000 (10:14 -0400)
commit474ec3e849686a02d00c5bd7a80c3042505b66bb
tree3423f3b3b23239cca03e1c55701f2df23484aa16
parent21e92806d39c68af2accd1fb238c2daecfcf9fbd
function_graph: Remove unnecessary initialization in ftrace_graph_ret_addr()

After the commit 29c1c24a2707 ("function_graph: Fix up ftrace_graph_ret_addr()")
ftrace_graph_ret_addr() doesn't need to initialize "int i" at the start.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Puranjay Mohan <puranjay@kernel.org>
Link: https://lore.kernel.org/20240916175818.GA28944@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/fgraph.c