aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/trace/trace_sched_wakeup.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/trace/trace_sched_wakeup.c b/kernel/trace/trace_sched_wakeup.c
index 93cecda650b2..a48c9b4b0c85 100644
--- a/kernel/trace/trace_sched_wakeup.c
+++ b/kernel/trace/trace_sched_wakeup.c
@@ -184,13 +184,10 @@ out:
184 184
185static void __wakeup_reset(struct trace_array *tr) 185static void __wakeup_reset(struct trace_array *tr)
186{ 186{
187 struct trace_array_cpu *data;
188 int cpu; 187 int cpu;
189 188
190 for_each_possible_cpu(cpu) { 189 for_each_possible_cpu(cpu)
191 data = tr->data[cpu];
192 tracing_reset(tr, cpu); 190 tracing_reset(tr, cpu);
193 }
194 191
195 wakeup_cpu = -1; 192 wakeup_cpu = -1;
196 wakeup_prio = -1; 193 wakeup_prio = -1;