mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 12:03:54 +02:00
[CPUFREQ] Remove pointless reinitialisations in acpi-cpufreq
Signed-off-by: Dave Jones <davej@redhat.com>
This commit is contained in:
parent
83844510ec
commit
b6571da9f3
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user