projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76ff28c
)
[CPUFREQ] longhaul: Kill off warnings introduced by recent changes.
author
Dave Jones
<davej@redhat.com>
Wed, 3 Jan 2007 04:42:16 +0000
(23:42 -0500)
committer
Dave Jones
<davej@redhat.com>
Wed, 3 Jan 2007 04:42:16 +0000
(23:42 -0500)
Bunch of unused vars + one case where gcc isn't smart enough.
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/longhaul.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/cpu/cpufreq/longhaul.c
b/arch/i386/kernel/cpu/cpufreq/longhaul.c
index f152c291e7c8590628df02f88eb9d49adc3ff11f..e940e00b96c99df51836d78ef3ab54e290d59ffa 100644
(file)
--- a/
arch/i386/kernel/cpu/cpufreq/longhaul.c
+++ b/
arch/i386/kernel/cpu/cpufreq/longhaul.c
@@
-358,10
+358,7
@@
static int __init longhaul_get_ranges(void)
130, 150, 160, 140, -1, 155, -1, 145 };
unsigned int j, k = 0;
union msr_longhaul longhaul;
- unsigned long lo, hi;
- unsigned int eblcr_fsb_table_v1[] = { 66, 133, 100, -1 };
- unsigned int eblcr_fsb_table_v2[] = { 133, 100, -1, 66 };
- int mult;
+ int mult = 0;
switch (longhaul_version) {
case TYPE_LONGHAUL_V1: