[PATCH 24/30] return statement cleanup - kill pointless parenthesesin arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
From: Jesper Juhl
Date: Wed Dec 15 2004 - 20:15:52 EST
This patch removes pointless parentheses from return statements in
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
Signed-off-by: Jesper Juhl <juhl-lkml@xxxxxx>
--- linux-2.6.10-rc3-bk8-orig/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c 2004-12-06 22:24:16.000000000 +0100
+++ linux-2.6.10-rc3-bk8/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c 2004-12-15 23:55:42.000000000 +0100
@@ -450,7 +450,7 @@ static int centrino_cpu_init_acpi(struct
err_unreg:
acpi_processor_unregister_performance(&p, policy->cpu);
printk(KERN_INFO PFX "invalid ACPI data\n");
- return (result);
+ return result;
}
#else
static inline int centrino_cpu_init_acpi(struct cpufreq_policy *policy) { return -ENODEV; }
@@ -518,7 +518,7 @@ static int centrino_cpu_init(struct cpuf
ret = cpufreq_frequency_table_cpuinfo(policy, centrino_model->op_points);
if (ret)
- return (ret);
+ return ret;
cpufreq_frequency_table_get_attr(centrino_model->op_points, policy->cpu);
@@ -587,7 +587,7 @@ static int centrino_target (struct cpufr
set_cpus_allowed(current, policy->cpus);
if (smp_processor_id() != policy->cpu) {
dprintk("couldn't limit to CPUs in this domain\n");
- return(-EAGAIN);
+ return -EAGAIN;
}
if (cpufreq_frequency_table_target(policy, centrino_model->op_points, target_freq,
@@ -627,7 +627,7 @@ static int centrino_target (struct cpufr
retval = 0;
migrate_end:
set_cpus_allowed(current, saved_mask);
- return (retval);
+ return retval;
}
static struct freq_attr* centrino_attr[] = {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/