aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWenji Huang <[email protected]>2010-02-24 15:40:24 +0800
committerSteven Rostedt <[email protected]>2010-02-25 10:41:24 -0500
commitc85f3a91f84d5a85f179c2504bb7a39370c82b41 (patch)
tree04f082a3f73138f97a4022e624942f29420617a9
parenta5efd925115cbc1f90195dca9a25f7b8daa10c37 (diff)
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: Wenji Huang <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
-rw-r--r--kernel/trace/trace_functions_graph.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c
index 616b135c9eb9..112561df2a0a 100644
--- a/kernel/trace/trace_functions_graph.c
+++ b/kernel/trace/trace_functions_graph.c
@@ -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);
/*