mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
cpuidle: lpm-levels: Remove sched_set_cpu_cstate calls
Scheduler no more need to know current c-state of cpu. Remove unused calls to set c-state. Change-Id: I2ddb3676527a20e00c0dfc192751a86e14eb0965 Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
This commit is contained in:
parent
2a97a3e253
commit
fbcf003ddf
@ -1367,9 +1367,6 @@ static int lpm_cpuidle_enter(struct cpuidle_device *dev,
|
||||
const struct cpumask *cpumask = get_cpu_mask(dev->cpu);
|
||||
ktime_t start = ktime_get();
|
||||
uint64_t start_time = ktime_to_ns(start), end_time;
|
||||
struct power_params *pwr_params;
|
||||
|
||||
pwr_params = &cpu->levels[idx].pwr;
|
||||
|
||||
cpu_prepare(cpu, idx, true);
|
||||
cluster_prepare(cpu->parent, cpumask, idx, true, start_time);
|
||||
|
Loading…
x
Reference in New Issue
Block a user