projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8384451
)
[CPUFREQ] Remove pointless reinitialisations in acpi-cpufreq
author
Dave Jones
<davej@redhat.com>
Tue, 30 May 2006 21:50:22 +0000
(17:50 -0400)
committer
Dave Jones
<davej@redhat.com>
Tue, 30 May 2006 21:50:22 +0000
(17:50 -0400)
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
index 3852d0a4c1b5e2f35dc168399d12b97882ca8938..030e741642f6fcd77defe44e361f0698c0baf34a 100644
(file)
--- 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;
}