Commit 267a61ee authored by Dave Jones's avatar Dave Jones

[CPUFREQ] Remove duplicate cpuid check from longrun driver.

parent 727cd16b
...@@ -229,9 +229,6 @@ static int longrun_cpu_init(struct cpufreq_policy *policy) ...@@ -229,9 +229,6 @@ static int longrun_cpu_init(struct cpufreq_policy *policy)
/* capability check */ /* capability check */
if (policy->cpu != 0) if (policy->cpu != 0)
return -ENODEV; return -ENODEV;
if (c->x86_vendor != X86_VENDOR_TRANSMETA ||
!cpu_has(c, X86_FEATURE_LONGRUN))
return -ENODEV;
/* detect low and high frequency */ /* detect low and high frequency */
result = longrun_determine_freqs(&longrun_low_freq, &longrun_high_freq); result = longrun_determine_freqs(&longrun_low_freq, &longrun_high_freq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment