Mesa (master): st/xorg: remove unused variable

Marek Olšák mareko at kemper.freedesktop.org
Tue Jun 14 02:15:21 UTC 2011


Module: Mesa
Branch: master
Commit: e823ab1b002560c02edc2d9f165e3b150b5e020e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e823ab1b002560c02edc2d9f165e3b150b5e020e

Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Jun 14 03:48:06 2011 +0200

st/xorg: remove unused variable

---

 src/gallium/state_trackers/xorg/xorg_xv.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/state_trackers/xorg/xorg_xv.c b/src/gallium/state_trackers/xorg/xorg_xv.c
index 234574b..af4992f 100644
--- a/src/gallium/state_trackers/xorg/xorg_xv.c
+++ b/src/gallium/state_trackers/xorg/xorg_xv.c
@@ -466,7 +466,6 @@ bind_samplers(struct xorg_xv_port_priv *port)
 {
    struct pipe_sampler_state *samplers[PIPE_MAX_SAMPLERS];
    struct pipe_sampler_state sampler;
-   struct pipe_resource **dst = port->yuv[port->current_set];
    struct pipe_sampler_view **dst_views = port->yuv_views[port->current_set];
 
    memset(&sampler, 0, sizeof(struct pipe_sampler_state));




More information about the mesa-commit mailing list