Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22006839 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Greg Kroah-Hartman
Browse files

staging: xgifb: XGI_GetCRT2ResInfo(): delete IF_DEF_LVDS check



Delete IF_DEF_LVDS check, this function is never called when it's true.

Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 718e715d
Loading
Loading
Loading
Loading
+23 −25
Original line number Diff line number Diff line
@@ -2526,7 +2526,6 @@ static void XGI_GetCRT2ResInfo(unsigned short ModeNo,
	if (!(pVBInfo->VBInfo & SetCRT2ToLCD))
		goto exit;

	if (pVBInfo->IF_DEF_LVDS == 0) {
	if (pVBInfo->LCDResInfo == Panel_1600x1200) {
		if (!(pVBInfo->LCDInfo & XGI_LCDVESATiming)) {
			if (yres == 1024)
@@ -2558,7 +2557,6 @@ static void XGI_GetCRT2ResInfo(unsigned short ModeNo,
			}
		}
	}
	}

	if (xres == 720)
		xres = 640;