* Cleanup cpufreq.c
@ 2004-04-05 21:11 Pavel Machek
2004-04-05 22:12 ` Dave Jones
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2004-04-05 21:11 UTC (permalink / raw)
To: Rusty trivial patch monkey Russell, kernel list, davej
Hi!
This removes useless goto. Please apply,
Pavel
Index: linux/drivers/cpufreq/cpufreq.c
===================================================================
--- linux.orig/drivers/cpufreq/cpufreq.c 2004-04-05 22:47:33.000000000 +0200
+++ linux/drivers/cpufreq/cpufreq.c 2004-03-11 18:16:08.000000000 +0100
@@ -509,14 +509,10 @@
*/
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);
- goto out;
- }
-
out:
cpufreq_cpu_put(cpu_policy);
-
return ret;
}
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Cleanup cpufreq.c
2004-04-05 21:11 Cleanup cpufreq.c Pavel Machek
@ 2004-04-05 22:12 ` Dave Jones
0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2004-04-05 22:12 UTC (permalink / raw)
To: Pavel Machek; +Cc: Rusty trivial patch monkey Russell, kernel list
On Mon, Apr 05, 2004 at 11:11:30PM +0200, Pavel Machek wrote:
> Hi!
>
> This removes useless goto. Please apply,
Applied, thanks.
Dave
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-05 22:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-05 21:11 Cleanup cpufreq.c Pavel Machek
2004-04-05 22:12 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox