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) | |
download | talos-obmc-linux-b6571da9f328999a6bce429b5f614a3d64b926ee.tar.gz talos-obmc-linux-b6571da9f328999a6bce429b5f614a3d64b926ee.zip |
[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 ( { u16 port = 0; u8 bit_width = 0; - int ret = 0; + int ret; u32 value = 0; int i = 0; struct cpufreq_freqs cpufreq_freqs; @@ -195,7 +195,6 @@ acpi_processor_set_performance ( udelay(10); } } else { - i = 0; value = (u32) data->acpi_data.states[state].status; } |