staging: xgifb: XGI_GetVBType(): delete IF_DEF_LVDS check

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>
This commit is contained in:
Aaro Koskinen 2013-05-29 23:59:01 +03:00 коммит произвёл Greg Kroah-Hartman
Родитель c976c7819b
Коммит 4b8071121d
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -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)