|
@@ -267,7 +267,6 @@ static int speedstep_target(struct cpufreq_policy *policy,
|
|
|
static int speedstep_cpu_init(struct cpufreq_policy *policy)
|
|
|
{
|
|
|
int result;
|
|
|
- unsigned int speed, state;
|
|
|
unsigned int *low, *high;
|
|
|
|
|
|
/* capability check */
|
|
@@ -303,19 +302,7 @@ static int speedstep_cpu_init(struct cpufreq_policy *policy)
|
|
|
pr_debug("workaround worked.\n");
|
|
|
}
|
|
|
|
|
|
- /* get current speed setting */
|
|
|
- state = speedstep_get_state();
|
|
|
- speed = speedstep_freqs[state].frequency;
|
|
|
-
|
|
|
- pr_debug("currently at %s speed setting - %i MHz\n",
|
|
|
- (speed == speedstep_freqs[SPEEDSTEP_LOW].frequency)
|
|
|
- ? "low" : "high",
|
|
|
- (speed / 1000));
|
|
|
-
|
|
|
- /* cpuinfo and default policy values */
|
|
|
policy->cpuinfo.transition_latency = CPUFREQ_ETERNAL;
|
|
|
- policy->cur = speed;
|
|
|
-
|
|
|
return cpufreq_table_validate_and_show(policy, speedstep_freqs);
|
|
|
}
|
|
|
|