]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/cpufreq/omap-cpufreq.c
cpufreq: drivers: Remove unnecessary assignments of policy-> members
[mirror_ubuntu-zesty-kernel.git] / drivers / cpufreq / omap-cpufreq.c
index b610edd820b1df22f18f36de625c0307cd4b6f15..ad7549c13ed2d89df2a4e708620d6e2a7d8e03a6 100644 (file)
@@ -177,7 +177,7 @@ static int __cpuinit omap_cpu_init(struct cpufreq_policy *policy)
                goto fail_ck;
        }
 
-       policy->cur = policy->min = policy->max = omap_getspeed(policy->cpu);
+       policy->cur = omap_getspeed(policy->cpu);
 
        if (!freq_table)
                result = opp_init_cpufreq_table(mpu_dev, &freq_table);
@@ -196,8 +196,6 @@ static int __cpuinit omap_cpu_init(struct cpufreq_policy *policy)
 
        cpufreq_frequency_table_get_attr(freq_table, policy->cpu);
 
-       policy->min = policy->cpuinfo.min_freq;
-       policy->max = policy->cpuinfo.max_freq;
        policy->cur = omap_getspeed(policy->cpu);
 
        /*