* [PATCH 2.5.69] unused variables in cpufreq drivers
@ 2003-05-09 23:04 Stephen Hemminger
0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2003-05-09 23:04 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-09 22:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-09 23:04 [PATCH 2.5.69] unused variables in cpufreq drivers Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).