[PATCH 02/12] xfree86: drop unused pointer setup
Dave Airlie
airlied at gmail.com
Thu Oct 20 03:44:18 PDT 2011
From: Dave Airlie <airlied at redhat.com>
Coverity scan pointed this out.
Drop unused randrp setup.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
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 cb20d1c..d4f6175 100644
--- a/hw/xfree86/modes/xf86RandR12.c
+++ b/hw/xfree86/modes/xf86RandR12.c
@@ -960,7 +960,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;
@@ -970,7 +969,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.6.4
More information about the xorg-devel
mailing list