2009-01-28 15:08:56

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: [PATCH tip] trace_sched_wakeup: Remove unused variable

Impact: cleanup

Cc: Steven Rostedt <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>

diff --git a/kernel/trace/trace_sched_wakeup.c b/kernel/trace/trace_sched_wakeup.c
index 93cecda..a48c9b4 100644
--- a/kernel/trace/trace_sched_wakeup.c
+++ b/kernel/trace/trace_sched_wakeup.c
@@ -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;


2009-01-29 13:31:48

by Ingo Molnar

[permalink] [raw]
Subject: Re: [PATCH tip] trace_sched_wakeup: Remove unused variable


* Arnaldo Carvalho de Melo <[email protected]> wrote:

> Impact: cleanup
>
> Cc: Steven Rostedt <[email protected]>
> Cc: Ingo Molnar <[email protected]>
> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>

applied to tip/tracing/ftrace, thanks!

Ingo