Messages in this thread Patch in this message | | | Date | Mon, 5 Apr 2004 23:11:30 +0200 | From | Pavel Machek <> | Subject | Cleanup cpufreq.c |
| |
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?] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |