Commit 43c8f12f authored by Dave Jones's avatar Dave Jones

[CPUFREQ] longhaul: Kill off warnings introduced by recent changes.

Bunch of unused vars + one case where gcc isn't smart enough.
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 76ff28c9
...@@ -358,10 +358,7 @@ static int __init longhaul_get_ranges(void) ...@@ -358,10 +358,7 @@ static int __init longhaul_get_ranges(void)
130, 150, 160, 140, -1, 155, -1, 145 }; 130, 150, 160, 140, -1, 155, -1, 145 };
unsigned int j, k = 0; unsigned int j, k = 0;
union msr_longhaul longhaul; union msr_longhaul longhaul;
unsigned long lo, hi; int mult = 0;
unsigned int eblcr_fsb_table_v1[] = { 66, 133, 100, -1 };
unsigned int eblcr_fsb_table_v2[] = { 133, 100, -1, 66 };
int mult;
switch (longhaul_version) { switch (longhaul_version) {
case TYPE_LONGHAUL_V1: case TYPE_LONGHAUL_V1:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment