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:
Maulik Shah 2017-12-06 16:34:06 +05:30 committed by Gerrit - the friendly Code Review server
parent 2a97a3e253
commit fbcf003ddf

View File

@ -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);