Signed-off-by: Rui Matos <[email protected]>
---
 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

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to