Commit e002fb4b authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[CPUFREQ] Remove useless goto.

(Pavel Machek)
parent 9cee74bc
...@@ -509,14 +509,11 @@ static int cpufreq_resume(struct sys_device * sysdev) ...@@ -509,14 +509,11 @@ static int cpufreq_resume(struct sys_device * sysdev)
*/ */
ret = cpufreq_driver->target(cpu_policy, cpu_policy->cur, CPUFREQ_RELATION_H); ret = cpufreq_driver->target(cpu_policy, cpu_policy->cur, CPUFREQ_RELATION_H);
if (ret) { if (ret)
printk(KERN_ERR "cpufreq: resume failed in ->setpolicy/target step on CPU %u\n", cpu_policy->cpu); printk(KERN_ERR "cpufreq: resume failed in ->setpolicy/target step on CPU %u\n", cpu_policy->cpu);
goto out;
}
out: out:
cpufreq_cpu_put(cpu_policy); cpufreq_cpu_put(cpu_policy);
return ret; return ret;
} }
......
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