public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tracing: remove unnecessary variable in print_graph_return
@ 2009-12-14  5:39 Wenji Huang
  2009-12-14 11:50 ` Frederic Weisbecker
  0 siblings, 1 reply; 2+ messages in thread
From: Wenji Huang @ 2009-12-14  5:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: fweisbec, Wenji Huang

Remove the local variable of the same name cpu in branch.

Signed-off-by: Wenji Huang <wenji.huang@oracle.com>
---
 kernel/trace/trace_functions_graph.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c
index a43d009..51d071c 100644
--- a/kernel/trace/trace_functions_graph.c
+++ b/kernel/trace/trace_functions_graph.c
@@ -858,7 +858,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);
 
 		/*
-- 
1.5.6


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-14 11:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-14  5:39 [PATCH] tracing: remove unnecessary variable in print_graph_return Wenji Huang
2009-12-14 11:50 ` Frederic Weisbecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox