diff options
author | Dave Jones <davej@redhat.com> | 2007-01-02 23:42:16 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2007-01-02 23:42:16 -0500 |
commit | 43c8f12f9f4a7cb4140693fc9baed35a02165898 (patch) | |
tree | 2c8d2eecd99813be19ae969a06ead39b5a463bc9 | |
parent | 76ff28c941e73a0de0db12bd5009124e8dc010e7 (diff) |
[CPUFREQ] longhaul: Kill off warnings introduced by recent changes.
Bunch of unused vars + one case where gcc isn't smart enough.
Signed-off-by: Dave Jones <davej@redhat.com>
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/longhaul.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.c b/arch/i386/kernel/cpu/cpufreq/longhaul.c index f152c291e7c8..e940e00b96c9 100644 --- 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) | |||
358 | 130, 150, 160, 140, -1, 155, -1, 145 }; | 358 | 130, 150, 160, 140, -1, 155, -1, 145 }; |
359 | unsigned int j, k = 0; | 359 | unsigned int j, k = 0; |
360 | union msr_longhaul longhaul; | 360 | union msr_longhaul longhaul; |
361 | unsigned long lo, hi; | 361 | int mult = 0; |
362 | unsigned int eblcr_fsb_table_v1[] = { 66, 133, 100, -1 }; | ||
363 | unsigned int eblcr_fsb_table_v2[] = { 133, 100, -1, 66 }; | ||
364 | int mult; | ||
365 | 362 | ||
366 | switch (longhaul_version) { | 363 | switch (longhaul_version) { |
367 | case TYPE_LONGHAUL_V1: | 364 | case TYPE_LONGHAUL_V1: |