Module: Mesa Branch: master Commit: af29c93f229a09588a5abd2185e79a1deb1468ea URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=af29c93f229a09588a5abd2185e79a1deb1468ea
Author: Erik Faye-Lund <[email protected]> Date: Wed Mar 6 14:36:15 2019 +0100 virgl: remove unused variables These variables are now unused, let's remove them to get rif of a few warnings. Fixes: f0e71b10888 (virgl: use transfer queue) Reviewed-by: Gurchetan Singh <[email protected]> --- src/gallium/drivers/virgl/virgl_buffer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gallium/drivers/virgl/virgl_buffer.c b/src/gallium/drivers/virgl/virgl_buffer.c index c500b1c297a..0ffac278486 100644 --- a/src/gallium/drivers/virgl/virgl_buffer.c +++ b/src/gallium/drivers/virgl/virgl_buffer.c @@ -78,10 +78,8 @@ static void virgl_buffer_transfer_unmap(struct pipe_context *ctx, { struct virgl_context *vctx = virgl_context(ctx); struct virgl_transfer *trans = virgl_transfer(transfer); - struct virgl_resource *vbuf = virgl_resource(transfer->resource); if (trans->base.usage & PIPE_TRANSFER_WRITE) { - struct virgl_screen *vs = virgl_screen(ctx->screen); if (transfer->usage & PIPE_TRANSFER_FLUSH_EXPLICIT) { if (trans->range.end <= trans->range.start) { virgl_resource_destroy_transfer(&vctx->transfer_pool, trans); @@ -102,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_context *vctx = virgl_context(ctx); struct virgl_resource *vbuf = virgl_resource(transfer->resource); struct virgl_transfer *trans = virgl_transfer(transfer); _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
