Hi, Some boring cleanups for xgifb after a while. There should be no changes in functionality, while the resulting module binary is about 10% smaller. In early testing there were some odd log writings about wrong rates, but those should be handled by patches 2 & 4. Testing: - compile-tested with GCC 4.6.3 + sparse 0.4.4 (no warnings seen) - tested frame buffer console with Z9/XG21 and LVDS LCD display - tested frame buffer console with Z11/XG27 and external VGA monitor Aaro Koskinen (25): staging: xgifb: XGIfb_mode_rate_to_ddata: delete commented-out code staging: xgifb: XGIfb_mode_rate_to_ddata: initialize ModeIdIndex properly staging: xgifb: XGIfb_mode_rate_to_dclock: delete commented-out code staging: xgifb: XGIfb_mode_rate_to_dclock: initialize ModeIdIndex properly staging: xgifb: drop XG41 code staging: xgifb: drop XG45 code staging: xgifb: delete XGI300paneltype staging: xgifb: delete rate_idx from mode table staging: xgifb: eliminate string comparison from mode search staging: xgifb: drop redudant mode table entries staging: xgifb: delete mode names from the mode table staging: xgifb: delete mode rows and columns staging: xgifb: delete MD_XGI300 staging: xgifb: unwrap mode table lines staging: xgifb: drop code for legacy VGA modes staging: xgifb: delete SModeIDTable staging: xgifb: delete code for EGA or lower modes staging: xgifb: truncate XGI330_StandTable staging: xgifb: delete StandTableIndex parameters staging: xgifb: delete legacy DAC data staging: xgifb: XGI_ExtStruct: delete unused fields staging: xgifb: delete VB_ExtTVFlickerIndex staging: xgifb: delete VB_ExtTVEdgeIndex staging: xgifb: eliminate redundant struct definition staging: xgifb: inline XGI_GetResInfo() drivers/staging/xgifb/XGI_main.h | 221 ++---- drivers/staging/xgifb/XGI_main_26.c | 80 +-- drivers/staging/xgifb/XGIfb.h | 2 - drivers/staging/xgifb/vb_init.c | 76 +-- drivers/staging/xgifb/vb_setmode.c | 1455 ++++++++++------------------------- drivers/staging/xgifb/vb_struct.h | 26 - drivers/staging/xgifb/vb_table.h | 725 +++--------------- 7 files changed, 598 insertions(+), 1987 deletions(-) -- 1.7.2.5 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel