From: Peter Huewe Date: Wed, 13 Jun 2012 22:21:50 +0000 (+0200) Subject: staging/xgifb: Replace delay lookup tables with constant values X-Git-Tag: v3.6-rc1~100^2~775 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f76fc617fdcf0f9cde4d56c5d7c6d9d33acbc1;p=pandora-kernel.git staging/xgifb: Replace delay lookup tables with constant values For TV Devices: The values taken from XGI_TVDelayList are always overwritten with the values from XGI_TVDelayList2 since the if condition for using the values from XGI_TVDelayList2 is identical with the check to enter this scope and thus always true. The delay values in XGI_TVDelayList2 is always 0x22 so we can simply replace it with this constant value. For LCD Devices: The LCD_DelayCompensation field is always set to 0x12 so we can simply replace this field with a constant value. This saves about 500 bytes in compiled size. Signed-off-by: Peter Huewe Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed