Messages in this thread Patch in this message | | | Date | Fri, 9 May 2003 16:04:37 -0700 | From | Stephen Hemminger <> | Subject | [PATCH 2.5.69] unused variables in cpufreq drivers |
| |
A couple of unused variables that can go. Probably just some leftover copy/paste of code.
diff -Nru a/arch/i386/kernel/cpu/cpufreq/longrun.c b/arch/i386/kernel/cpu/cpufreq/longrun.c --- a/arch/i386/kernel/cpu/cpufreq/longrun.c Fri May 9 15:54:51 2003 +++ b/arch/i386/kernel/cpu/cpufreq/longrun.c Fri May 9 15:54:51 2003 @@ -224,7 +224,6 @@ static int longrun_cpu_init(struct cpufreq_policy *policy) { int result = 0; - struct cpuinfo_x86 *c = cpu_data; /* capability check */ if (policy->cpu != 0) diff -Nru a/arch/i386/kernel/cpu/cpufreq/powernow-k6.c b/arch/i386/kernel/cpu/cpufreq/powernow-k6.c --- a/arch/i386/kernel/cpu/cpufreq/powernow-k6.c Fri May 9 15:54:51 2003 +++ b/arch/i386/kernel/cpu/cpufreq/powernow-k6.c Fri May 9 15:54:51 2003 @@ -142,7 +142,6 @@ static int powernow_k6_cpu_init(struct cpufreq_policy *policy) { - struct cpuinfo_x86 *c = cpu_data; unsigned int i; if (policy->cpu != 0) - 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/
| |