Skip to content

Commit

Permalink
[CPUFREQ] Remove pointless reinitialisations in acpi-cpufreq
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Dave Jones committed May 30, 2006
1 parent 8384451 commit b6571da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -195,7 +195,6 @@ acpi_processor_set_performance (
udelay(10);
}
} else {
i = 0;
value = (u32) data->acpi_data.states[state].status;
}

Expand Down

0 comments on commit b6571da

Please sign in to comment.