From: Dave Jones Date: Wed, 3 Jan 2007 04:42:16 +0000 (-0500) Subject: [CPUFREQ] longhaul: Kill off warnings introduced by recent changes. X-Git-Tag: v2.6.20-rc4~90^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43c8f12f9f4a7cb4140693fc9baed35a02165898;p=linux-2.6 [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 --- diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.c b/arch/i386/kernel/cpu/cpufreq/longhaul.c index f152c291e7..e940e00b96 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) 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: