kernel-ark/drivers/staging/xgifb
Peter Huewe 86c6c948da staging/xgifb: Remove unused values in XG27_SR13 and XGI340_SR13
In the lookup tables XG27_SR13 and XGI340_SR13 only the first three
 values are used of each 'line', thus the remaining fields can be
 removed.

Rationale:
- vb_init.c uses pVBInfo->ram_type for the 'column' index for
pVBInfo->SR15.

- pVBInfo->ram_type is assigned the return value of
XGINew_GetXG20DRAMType which can only be 0, 1 or 2

- pVBInfo->SR15 is assigned to either XG27_SR13 or XGI340_SR13 in
vb_setmode.c

-> only the first three values are used.
This becomes also evident as values 3-7 are all 0.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-05 13:45:09 -08:00
..
Kconfig
Makefile
TODO staging "xgifb" Fix typos. 2012-10-22 11:41:13 -07:00
vb_def.h staging: xgifb: eliminate pVBInfo->AGPReg 2012-11-13 12:54:30 -08:00
vb_init.c staging/xgifb: Remove unused variable 2013-02-05 11:55:08 -08:00
vb_init.h staging: xgifb: use XGIRegInit() 2013-01-21 14:00:10 -08:00
vb_setmode.c staging/xgifb: Consolidate if branches with similar conditions 2013-02-05 11:16:22 -08:00
vb_setmode.h
vb_struct.h staging/xgifb: Remove unused values in XG27_SR13 and XGI340_SR13 2013-02-05 13:45:09 -08:00
vb_table.h staging/xgifb: Remove unused values in XG27_SR13 and XGI340_SR13 2013-02-05 13:45:09 -08:00
vb_util.c Staging: xgifb: Fix sparse warnings. 2012-06-18 17:20:21 -07:00
vb_util.h
vgatypes.h Staging: xgifb: Remove unneeded XGI_LCD_TYPE enumeration. 2012-07-11 16:59:27 -07:00
XGI_main_26.c staging/xgifb: remove unnecessary temp variable in XGIfb_mode_rate_to_ddata 2013-02-04 10:46:27 -08:00
XGI_main.h Staging: xgifb: Remove unused struct _chswtable. 2012-07-11 16:59:28 -07:00
XGIfb.h staging/xgifb: mttr must be (signed) int 2013-02-04 10:46:27 -08:00