[PATCH 26/30] xfree86/modes: Stop setting randrp for nothing.

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


Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
 hw/xfree86/modes/xf86RandR12.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c
index 50315f7..27bfbe5 100644
--- a/hw/xfree86/modes/xf86RandR12.c
+++ b/hw/xfree86/modes/xf86RandR12.c
@@ -957,7 +957,6 @@ xf86RandR12SetRotations (ScreenPtr pScreen, Rotation rotations)
 void
 xf86RandR12SetTransformSupport (ScreenPtr pScreen, Bool transforms)
 {
-    XF86RandRInfoPtr	randrp;
 #if RANDR_13_INTERFACE
     ScrnInfoPtr		pScrn = xf86Screens[pScreen->myNum];
     int			c;
@@ -967,7 +966,6 @@ xf86RandR12SetTransformSupport (ScreenPtr pScreen, Bool transforms)
     if (xf86RandR12Key == NULL)
 	return;
 
-    randrp = XF86RANDRINFO(pScreen);
 #if RANDR_13_INTERFACE
     for (c = 0; c < config->num_crtc; c++) {
 	xf86CrtcPtr    crtc = config->crtc[c];
-- 
1.7.5.1



More information about the xorg-devel mailing list