[PATCH 02/12] xfree86: drop unused pointer setup

Alan Coopersmith alan.coopersmith at oracle.com
Thu Oct 20 16:11:19 PDT 2011


On 10/20/11 03:44, Dave Airlie wrote:
> 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];

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list