Skip to contentSkip to conversation

trace_sched_wakeup: Remove unused variable

PATCH Applied Arnaldo Carvalho de Melo 2 participants 2 messages Jan 28, 2009 – Jan 29, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trace_sched_wakeup: Remove unused variable

Impact: cleanup

kernel/trace/trace_sched_wakeup.c +1 -4
index 93cecda..a48c9b4 100644
@@ -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;