[Mesa-dev] [PATCH 3/7] st/xorg: drop set but unsused variables dxo, dyo

Brian Paul brianp at vmware.com
Mon Sep 30 07:35:40 PDT 2013


On 09/28/2013 08:46 AM, Emil Velikov wrote:
> Commit a9f8baf00b264 removed the first and only use of the variables
> but forgot to remove them.
>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>   src/gallium/state_trackers/xorg/xorg_xv.c | 4 ----
>   1 file changed, 4 deletions(-)
>
> diff --git a/src/gallium/state_trackers/xorg/xorg_xv.c b/src/gallium/state_trackers/xorg/xorg_xv.c
> index 3097d00..f0de3d2 100644
> --- a/src/gallium/state_trackers/xorg/xorg_xv.c
> +++ b/src/gallium/state_trackers/xorg/xorg_xv.c
> @@ -490,7 +490,6 @@ display_video(ScrnInfoPtr pScrn, struct xorg_xv_port_priv *pPriv, int id,
>      modesettingPtr ms = modesettingPTR(pScrn);
>      BoxPtr pbox;
>      int nbox;
> -   int dxo, dyo;
>      Bool hdtv;
>      int x, y, w, h;
>      struct exa_pixmap_priv *dst;
> @@ -518,9 +517,6 @@ display_video(ScrnInfoPtr pScrn, struct xorg_xv_port_priv *pPriv, int id,
>                       -pPixmap->screen_y);
>   #endif
>
> -   dxo = dstRegion->extents.x1;
> -   dyo = dstRegion->extents.y1;
> -
>      pbox = REGION_RECTS(dstRegion);
>      nbox = REGION_NUM_RECTS(dstRegion);
>
>

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list