lkml.org 
[lkml]   [2009]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tracing: remove unnecessary variable in print_graph_return
On Mon, Dec 14, 2009 at 01:39:32PM +0800, Wenji Huang wrote:
> 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);
>
> /*


Acked-by: Frederic Weisbecker <fweisbec@gmail.com>



\
 
 \ /
  Last update: 2009-12-14 12:53    [W:0.149 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site