aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-05-30 17:43:54 -0400
committerDave Jones <davej@redhat.com>2006-05-30 17:43:54 -0400
commit83844510ec9dc89a676e71d3cc28289905c2caec (patch)
treea90113ca845785c4f014683f6f85aa8464d01ceb /arch/i386
parent8eebf1a4c3682f71dbda3348abfcdd4d2a751fd3 (diff)
[CPUFREQ] Remove pointless reinitialisation from powernow-k8
This var is already set at entry to the function. Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/kernel/cpu/cpufreq/powernow-k8.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
index 88425bd55e12..517de6cb0d0a 100644
--- a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
+++ b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
@@ -933,10 +933,8 @@ static int powernowk8_target(struct cpufreq_policy *pol, unsigned targfreq, unsi
933 dprintk("targ: cpu %d, %d kHz, min %d, max %d, relation %d\n", 933 dprintk("targ: cpu %d, %d kHz, min %d, max %d, relation %d\n",
934 pol->cpu, targfreq, pol->min, pol->max, relation); 934 pol->cpu, targfreq, pol->min, pol->max, relation);
935 935
936 if (query_current_values_with_pending_wait(data)) { 936 if (query_current_values_with_pending_wait(data))
937 ret = -EIO;
938 goto err_out; 937 goto err_out;
939 }
940 938
941 dprintk("targ: curr fid 0x%x, vid 0x%x\n", 939 dprintk("targ: curr fid 0x%x, vid 0x%x\n",
942 data->currfid, data->currvid); 940 data->currfid, data->currvid);