]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[CPUFREQ] longhaul: Kill off warnings introduced by recent changes.
authorDave Jones <davej@redhat.com>
Wed, 3 Jan 2007 04:42:16 +0000 (23:42 -0500)
committerDave 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

index f152c291e7c8590628df02f88eb9d49adc3ff11f..e940e00b96c99df51836d78ef3ab54e290d59ffa 100644 (file)
@@ -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: