kernel-ark/drivers/staging/xgifb
Peter Huewe f951dd05f9 staging/xgifb: Consolidate if branches with similar conditions
1) The same condition (pVBInfo->IF_DEF_LVDS == 0) was checked in the if
clause directly in front of this one.

2) The same condition pVBInfo->VBType & (VB_SIS301B | VB_SIS302B |
VB_SIS301LV | VB_SIS302LV | VB_XGI301C) was checked in the if
clause directly in front of this one.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-05 11:16:22 -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: Don't write the same values x times 2013-02-05 11:16:21 -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: delete pVBInfo->BaseAddr 2013-01-21 14:00:10 -08:00
vb_table.h staging/xgifb: Replace XGI340_CR6B table with simple if/else 2013-02-05 11:16:21 -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