Skip to content

Commit

Permalink
trace_sched_wakeup: Remove unused variable
Browse files Browse the repository at this point in the history
Impact: cleanup

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Jan 29, 2009
1 parent f04109b commit b3a8c34
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kernel/trace/trace_sched_wakeup.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,10 @@ probe_wakeup_sched_switch(struct rq *rq, struct task_struct *prev,

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;
Expand Down

0 comments on commit b3a8c34

Please sign in to comment.