Signed-off-by: Rui Matos <[email protected]>
---
 hw/xfree86/modes/xf86RandR12.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c
index ecf60aa..0c12c3c 100644
--- a/hw/xfree86/modes/xf86RandR12.c
+++ b/hw/xfree86/modes/xf86RandR12.c
@@ -445,7 +445,6 @@ xf86RandR12GetInfo (ScreenPtr pScreen, Rotation *rotations)
     ScrnInfoPtr                    scrp = XF86SCRNINFO(pScreen);
     XF86RandRInfoPtr       randrp = XF86RANDRINFO(pScreen);
     DisplayModePtr         mode;
-    int                            refresh0 = 60;
     int                            maxX = 0, maxY = 0;
 
     *rotations = randrp->supported_rotations;
@@ -473,8 +472,6 @@ xf86RandR12GetInfo (ScreenPtr pScreen, Rotation *rotations)
                if (maxY < mode->VDisplay)
                        maxY = mode->VDisplay;
        }
-       if (mode == scrp->modes)
-           refresh0 = refresh;
        pSize = RRRegisterSize (pScreen,
                                mode->HDisplay, mode->VDisplay,
                                randrp->mmWidth, randrp->mmHeight);
-- 
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