Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee2cbb16 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cpuidle: lpm_levels: Remove duplicate cpuidle tracepoints"

parents b7a0d4a6 f7ecccb2
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1020,7 +1020,6 @@ static int lpm_cpuidle_select(struct cpuidle_driver *drv,
	if (idx < 0)
		return -EPERM;

	trace_cpu_idle_rcuidle(idx, dev->cpu);
	return idx;
}

@@ -1069,7 +1068,6 @@ exit:

	sched_set_cpu_cstate(smp_processor_id(), 0, 0, 0);
	trace_cpu_idle_exit(idx, success);
	trace_cpu_idle_rcuidle(PWR_EVENT_EXIT, dev->cpu);
	end_time = ktime_to_ns(ktime_get()) - start_time;
	dev->last_residency = do_div(end_time, 1000);
	local_irq_enable();