[PATCH 27/30] xfree86/modes: Stop setting randr_crtc for nothing.

Cyril Brulebois kibi at debian.org
Fri May 20 08:35:37 PDT 2011


Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
 hw/xfree86/modes/xf86RandR12.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c
index 27bfbe5..57b3b0e 100644
--- a/hw/xfree86/modes/xf86RandR12.c
+++ b/hw/xfree86/modes/xf86RandR12.c
@@ -1446,7 +1446,6 @@ xf86RandR12SetInfo12 (ScreenPtr pScreen)
     RRCrtcPtr		*crtcs;
     int			ncrtc;
     int			o, c, l;
-    RRCrtcPtr		randr_crtc;
     int			nclone;
     
     clones = malloc(config->num_output * sizeof (RROutputPtr));
@@ -1460,11 +1459,6 @@ xf86RandR12SetInfo12 (ScreenPtr pScreen)
 	    if (output->possible_crtcs & (1 << c))
 		crtcs[ncrtc++] = config->crtc[c]->randr_crtc;
 
-	if (output->crtc)
-	    randr_crtc = output->crtc->randr_crtc;
-	else
-	    randr_crtc = NULL;
-
 	if (!RROutputSetCrtcs (output->randr_output, crtcs, ncrtc))
 	{
 	    free(crtcs);
-- 
1.7.5.1



More information about the xorg-devel mailing list