* [PATCH tip] trace_sched_wakeup: Remove unused variable
@ 2009-01-28 15:08 Arnaldo Carvalho de Melo
2009-01-29 13:31 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2009-01-28 15:08 UTC (permalink / raw)
To: Steven Rostedt; +Cc: Ingo Molnar, Linux Kernel Mailing List
Impact: cleanup
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH tip] trace_sched_wakeup: Remove unused variable
2009-01-28 15:08 [PATCH tip] trace_sched_wakeup: Remove unused variable Arnaldo Carvalho de Melo
@ 2009-01-29 13:31 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2009-01-29 13:31 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo, Steven Rostedt,
Linux Kernel Mailing List
Cc: Frédéric Weisbecker
* Arnaldo Carvalho de Melo <acme@redhat.com> wrote:
> Impact: cleanup
>
> Cc: Steven Rostedt <rostedt@goodmis.org>
> Cc: Ingo Molnar <mingo@elte.hu>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
applied to tip/tracing/ftrace, thanks!
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-29 13:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28 15:08 [PATCH tip] trace_sched_wakeup: Remove unused variable Arnaldo Carvalho de Melo
2009-01-29 13:31 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox