diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2012-09-11 00:15:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-10 15:48:15 -0700 |
commit | 6e90d0570d39cfef03913630dff3ca5c6598dbb8 (patch) | |
tree | 4099b160490767a6ededf33ad5d824d435bc110b /drivers/staging/xgifb | |
parent | 886230c12d8fb2196daa9bea4ae83d82e6e03732 (diff) | |
download | linux-stable-6e90d0570d39cfef03913630dff3ca5c6598dbb8.tar.gz linux-stable-6e90d0570d39cfef03913630dff3ca5c6598dbb8.tar.bz2 linux-stable-6e90d0570d39cfef03913630dff3ca5c6598dbb8.zip |
staging: xgifb: delete IF_DEF_ExpLink
Delete a flag which is never set.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xgifb')
-rw-r--r-- | drivers/staging/xgifb/vb_setmode.c | 14 | ||||
-rw-r--r-- | drivers/staging/xgifb/vb_struct.h | 1 |
2 files changed, 0 insertions, 15 deletions
diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c index 6c1dd0492583..dc1e371ca382 100644 --- a/drivers/staging/xgifb/vb_setmode.c +++ b/drivers/staging/xgifb/vb_setmode.c @@ -2960,20 +2960,6 @@ static unsigned char XGI_GetLCDInfo(unsigned short ModeNo, tempbx |= SetLCDtoNonExpanding; } - if (pVBInfo->IF_DEF_ExpLink == 1) { - if (modeflag & HalfDCLK) { - if (!(tempbx & SetLCDtoNonExpanding)) { - tempbx |= XGI_EnableLVDSDDA; - } else { - if (pVBInfo->LCDResInfo == Panel_1024x768) { - if (resinfo == 4) {/* 512x384 */ - tempbx |= XGI_EnableLVDSDDA; - } - } - } - } - } - if (pVBInfo->VBInfo & SetInSlaveMode) { if (pVBInfo->VBInfo & SetNotSimuMode) tempbx |= XGI_LCDVESATiming; diff --git a/drivers/staging/xgifb/vb_struct.h b/drivers/staging/xgifb/vb_struct.h index e2fa1ff26353..043d0fbc472a 100644 --- a/drivers/staging/xgifb/vb_struct.h +++ b/drivers/staging/xgifb/vb_struct.h @@ -169,7 +169,6 @@ struct vb_device_info { unsigned short IF_DEF_LVDS, IF_DEF_TRUMPION, IF_DEF_DSTN; unsigned short IF_DEF_CRT2Monitor; unsigned short IF_DEF_LCDA, IF_DEF_YPbPr; - unsigned short IF_DEF_ExpLink; unsigned short IF_DEF_HiVision; unsigned short LCDResInfo, LCDTypeInfo, VBType;/*301b*/ unsigned short VBInfo, TVInfo, LCDInfo; |