aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-03-06 14:40:04 +0100
committerEric Engestrom <[email protected]>2019-03-07 17:24:54 +0000
commit524934586b8cdc2e745dcf5ea83aeec50c1eefbe (patch)
treea0ad04cd409a69800960a7c696768fa6abd30cfa /src/gallium
parentaf29c93f229a09588a5abd2185e79a1deb1468ea (diff)
virgl: remove unused variable
This variable is now unused, so let's remove it. Fixes: c19aedcf1a8 (virgl: don't mark unclean after a flush) Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/virgl/virgl_buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_buffer.c b/src/gallium/drivers/virgl/virgl_buffer.c
index 0ffac278486..ae4e74c7936 100644
--- a/src/gallium/drivers/virgl/virgl_buffer.c
+++ b/src/gallium/drivers/virgl/virgl_buffer.c
@@ -100,7 +100,6 @@ static void virgl_buffer_transfer_flush_region(struct pipe_context *ctx,
struct pipe_transfer *transfer,
const struct pipe_box *box)
{
- struct virgl_resource *vbuf = virgl_resource(transfer->resource);
struct virgl_transfer *trans = virgl_transfer(transfer);
/*