kernel-ark/drivers/staging/xgifb
Peter Huewe 87be0afafa staging/xgifb: Remove unused values in XGI340_cr41 and XGI27_cr41
In the lookup tables XGI340_cr41 and XGI27_cr41 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->CR40.

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

- pVBInfo->CR40 is assigned to either XGI340_cr41 or XGI27_cr41 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 staging: xgifb: delete vb_ext.{c,h} 2011-11-26 18:03:18 -08:00
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 staging: xgifb: move XGI21_LVDSCapStruct into xgifb_video_info 2011-12-08 12:26:07 -08:00
vb_struct.h staging/xgifb: Remove unused values in XGI340_cr41 and XGI27_cr41 2013-02-05 13:45:09 -08:00
vb_table.h staging/xgifb: Remove unused values in XGI340_cr41 and XGI27_cr41 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 staging: xgifb: clean up register access types 2011-03-14 11:52:34 -07:00
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