Explorar o código

[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>
Dave Jones %!s(int64=18) %!d(string=hai) anos
pai
achega
43c8f12f9f
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      arch/i386/kernel/cpu/cpufreq/longhaul.c

+ 1 - 4
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: