[PATCH 23/30] xfree86/modes: Stop setting refresh0 for nothing.

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


Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
 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 cb20d1c..50315f7 100644
--- a/hw/xfree86/modes/xf86RandR12.c
+++ b/hw/xfree86/modes/xf86RandR12.c
@@ -440,7 +440,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;
@@ -468,8 +467,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.1



More information about the xorg-devel mailing list