summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-05-30 17:50:22 -0400
committerDave Jones <davej@redhat.com>2006-05-30 17:50:22 -0400
commitb6571da9f328999a6bce429b5f614a3d64b926ee (patch)
treeef017bddd20db6e0363575ed77c1c4fa524edfa2 /arch
parent83844510ec9dc89a676e71d3cc28289905c2caec (diff)
downloadblackbird-op-linux-b6571da9f328999a6bce429b5f614a3d64b926ee.tar.gz
blackbird-op-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.c3
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;
}
OpenPOWER on IntegriCloud