diff --git a/src/i830_display.c b/src/i830_display.c index 622209b..c4dfc1c 100644 --- a/src/i830_display.c +++ b/src/i830_display.c @@ -1726,7 +1726,6 @@ i830GetLoadDetectPipe(xf86OutputPtr output, DisplayModePtr mode, int *dpms_mode) xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn); I830OutputPrivatePtr intel_output = output->driver_private; I830CrtcPrivatePtr intel_crtc; - xf86CrtcPtr supported_crtc =NULL; xf86CrtcPtr crtc = NULL; int i; @@ -1757,15 +1756,11 @@ i830GetLoadDetectPipe(xf86OutputPtr output, DisplayModePtr mode, int *dpms_mode) crtc = possible_crtc; break; } - if (!supported_crtc) - supported_crtc = possible_crtc; } + + /* Couldn't find unused CRTC for probing */ if (!crtc) - { - crtc = supported_crtc; - if (!crtc) - return NULL; - } + return NULL; output->crtc = crtc; intel_output->load_detect_temp = TRUE;