mirror of https://gitee.com/openkylin/linux.git
trace_sched_wakeup: Remove unused variable
Impact: cleanup Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
f04109bf1b
commit
b3a8c34886
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue