[PATCH 28/30] xfree86/modes: Stop setting rotation_active for nothing.

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


Keep on calling that function anyway, but the return value seems to be
uninteresting since it's not checked at all.

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

diff --git a/hw/xfree86/modes/xf86Rotate.c b/hw/xfree86/modes/xf86Rotate.c
index 57c3499..9b02ae5 100644
--- a/hw/xfree86/modes/xf86Rotate.c
+++ b/hw/xfree86/modes/xf86Rotate.c
@@ -263,9 +263,8 @@ xf86RotateBlockHandler(int screenNum, pointer blockData,
     ScreenPtr		pScreen = screenInfo.screens[screenNum];
     ScrnInfoPtr		pScrn = xf86Screens[screenNum];
     xf86CrtcConfigPtr   xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
-    Bool		rotation_active;
 
-    rotation_active = xf86RotateRedisplay(pScreen);
+    xf86RotateRedisplay(pScreen);
     pScreen->BlockHandler = xf86_config->BlockHandler;
     (*pScreen->BlockHandler) (screenNum, blockData, pTimeout, pReadmask);
     /* cannot avoid re-wrapping until all wrapping is audited */
-- 
1.7.5.1



More information about the xorg-devel mailing list