From: Dave Airlie <[email protected]> Coverity scan pointed this out.
Drop unused randrp setup. Signed-off-by: Dave Airlie <[email protected]> --- 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 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
