2003-05-09 22:52:00

by Stephen Hemminger

[permalink] [raw]
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)