lkml.org 
[lkml]   [2003]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.028 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site