trace_sched_wakeup: Remove unused variable
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 28 Jan 2009 15:08:37 +0000 (13:08 -0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 29 Jan 2009 13:31:03 +0000 (14:31 +0100)
Impact: cleanup

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_sched_wakeup.c

index 93cecda..a48c9b4 100644 (file)
@@ -184,13 +184,10 @@ out:
 
 static void __wakeup_reset(struct trace_array *tr)
 {
-       struct trace_array_cpu *data;
        int cpu;
 
-       for_each_possible_cpu(cpu) {
-               data = tr->data[cpu];
+       for_each_possible_cpu(cpu)
                tracing_reset(tr, cpu);
-       }
 
        wakeup_cpu = -1;
        wakeup_prio = -1;