lkml.org 
[lkml]   [2010]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH -tip 3/5] tracing: remove unnecessary variable in print_graph_return
    Date
    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 616b135..112561d 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);

    /*
    --
    1.5.6


    \
     
     \ /
      Last update: 2010-02-24 08:43    [W:0.019 / U:29.556 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site