Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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 <wenji.huang@oracle.com>
LKML-Reference: <1266997226-6833-3-git-send-email-wenji.huang@oracle.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent a5efd925
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -855,7 +855,6 @@ print_graph_return(struct ftrace_graph_ret *trace, struct trace_seq *s,
	int i;
	int i;


	if (data) {
	if (data) {
		int cpu = iter->cpu;
		int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth);
		int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth);


		/*
		/*