staging: xgifb: delete duplicated default video mode setup code
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 29 Aug 2011 20:14:28 +0000 (23:14 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 18:41:23 +0000 (11:41 -0700)
commit35c064da1b0c9525f51bb84e9ce55aa5961063f0
tree19d3751c2173a7dcf0d72d5775f0d73924d20010
parent69a186986111a31c0473971104e89c4975955e57
staging: xgifb: delete duplicated default video mode setup code

The code for determining the default video mode is unnecessarily
duplicated in XGIfb_search_mode() and XGIfb_search_vesamode() functions.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/XGI_main_26.c