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

Emil Velikov emil.l.velikov at gmail.com
Sat Sep 28 07:46:17 PDT 2013


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);
 
-- 
1.8.4



More information about the mesa-dev mailing list