[PATCH 1/4] xf86RandR12SetInfo12: remove unused variable randr_crtc

Rui Matos tiagomatos at gmail.com
Wed Jun 29 20:06:20 PDT 2011


Signed-off-by: Rui Matos <tiagomatos at gmail.com>
---
 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 7eefb19..ecf60aa 100644
--- a/hw/xfree86/modes/xf86RandR12.c
+++ b/hw/xfree86/modes/xf86RandR12.c
@@ -1456,7 +1456,6 @@ xf86RandR12SetInfo12 (ScreenPtr pScreen)
     RRCrtcPtr		*crtcs;
     int			ncrtc;
     int			o, c, l;
-    RRCrtcPtr		randr_crtc;
     int			nclone;
     
     clones = malloc(config->num_output * sizeof (RROutputPtr));
@@ -1470,11 +1469,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.4



More information about the xorg-devel mailing list