Commit c85f3a91 authored by Wenji Huang's avatar Wenji Huang Committed by Steven Rostedt
Browse files

tracing: Remove unnecessary variable in print_graph_return

The "cpu" variable is declared at the start of the function and
also within a branch, with the exact same initialization.

Remove the local variable of the same name in the branch.
Signed-off-by: default avatarWenji Huang <>
LKML-Reference: <>
Signed-off-by: default avatarSteven Rostedt <>
parent a5efd925
......@@ -855,7 +855,6 @@ print_graph_return(struct ftrace_graph_ret *trace, struct trace_seq *s,
int i;
if (data) {
int cpu = iter->cpu;
int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment