staging: xgifb: XGI_GetVBType(): delete IF_DEF_LVDS check
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 29 May 2013 20:59:01 +0000 (23:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:55:47 +0000 (20:55 +0900)
XGI_GetVBType() is called only for chips < XG20 so IF_DEF_LVDS cannot
be set.

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

index 9a570366433b86fca9f878327f73f1f82fd1a385..d46e021e7f2673abae4d52c73415ed38fb9bdb0c 100644 (file)
@@ -1913,9 +1913,6 @@ void XGI_GetVBType(struct vb_device_info *pVBInfo)
 {
        unsigned short flag, tempbx, tempah;
 
-       if (pVBInfo->IF_DEF_LVDS != 0)
-               return;
-
        tempbx = VB_SIS302B;
        flag = xgifb_reg_get(pVBInfo->Part4Port, 0x00);
        if (flag == 0x02)