virgl: remove unused variable
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 6 Mar 2019 13:40:04 +0000 (14:40 +0100)
committerEric Engestrom <eric@engestrom.ch>
Thu, 7 Mar 2019 17:24:54 +0000 (17:24 +0000)
This variable is now unused, so let's remove it.

Fixes: c19aedcf1a8 (virgl: don't mark unclean after a flush)
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/drivers/virgl/virgl_buffer.c

index 0ffac27848608242058bddfe49313fe8ed6a782c..ae4e74c793605fdfb43d3d3ebddcfb431022ca13 100644 (file)
@@ -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);
 
    /*