[PATCH 2/4] xf86RandR12GetInfo: remove unused variable refresh0
Rui Matos
tiagomatos at gmail.com
Wed Jun 29 20:06:21 PDT 2011
Signed-off-by: Rui Matos <tiagomatos at gmail.com>
---
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
More information about the xorg-devel
mailing list