From: Erik Faye-Lund Date: Wed, 6 Mar 2019 13:40:04 +0000 (+0100) Subject: virgl: remove unused variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=524934586b8cdc2e745dcf5ea83aeec50c1eefbe;p=mesa.git 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 --- 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); /*