diff options
author | Dave Jones <davej@redhat.com> | 2006-05-30 17:50:22 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-05-30 17:50:22 -0400 |
commit | b6571da9f328999a6bce429b5f614a3d64b926ee (patch) | |
tree | ef017bddd20db6e0363575ed77c1c4fa524edfa2 /arch | |
parent | 83844510ec9dc89a676e71d3cc28289905c2caec (diff) |
[CPUFREQ] Remove pointless reinitialisations in acpi-cpufreq
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c index 3852d0a4c1b5..030e741642f6 100644 --- a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c +++ b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | |||
@@ -104,7 +104,7 @@ acpi_processor_set_performance ( | |||
104 | { | 104 | { |
105 | u16 port = 0; | 105 | u16 port = 0; |
106 | u8 bit_width = 0; | 106 | u8 bit_width = 0; |
107 | int ret = 0; | 107 | int ret; |
108 | u32 value = 0; | 108 | u32 value = 0; |
109 | int i = 0; | 109 | int i = 0; |
110 | struct cpufreq_freqs cpufreq_freqs; | 110 | struct cpufreq_freqs cpufreq_freqs; |
@@ -195,7 +195,6 @@ acpi_processor_set_performance ( | |||
195 | udelay(10); | 195 | udelay(10); |
196 | } | 196 | } |
197 | } else { | 197 | } else { |
198 | i = 0; | ||
199 | value = (u32) data->acpi_data.states[state].status; | 198 | value = (u32) data->acpi_data.states[state].status; |
200 | } | 199 | } |
201 | 200 | ||