Only table values 0..5 are ever used.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tempcx = LCDLenList[tempbx];
if (pVBInfo->LCDInfo & EnableScalingLCD) { /* ScaleLCD */
- if ((tempbx == 5) || (tempbx) == 7)
+ if (tempbx == 5)
tempcx = LCDDesDataLen2;
- else if ((tempbx == 3) || (tempbx == 8))
+ else if (tempbx == 3)
tempcx = LVDSDesDataLen2;
}
case 5:
tempdi = XGI_LCDDesDataTable;
break;
- case 6:
- case 7:
- case 8:
- case 9:
- tempdi = NULL;
- break;
default:
break;
}