summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_context.c
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-03-13 17:25:41 +0100
committerErik Faye-Lund <[email protected]>2019-04-17 07:27:07 +0000
commit18a721fd566eb484772496110eed1bf0d1db0c83 (patch)
tree282d7cdf901e627f0534ffa1078efe98b0f2382b /src/gallium/drivers/virgl/virgl_context.c
parent3c5a9ab9f01d1d299eea1b99b9346c639fc30612 (diff)
virgl: remove pointless transfer-counter
This is only written to, never read. Let's just get rid of it. Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_context.c')
-rw-r--r--src/gallium/drivers/virgl/virgl_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_context.c b/src/gallium/drivers/virgl/virgl_context.c
index 5e608e47fd0..b5188654892 100644
--- a/src/gallium/drivers/virgl/virgl_context.c
+++ b/src/gallium/drivers/virgl/virgl_context.c
@@ -755,7 +755,7 @@ static void virgl_flush_eq(struct virgl_context *ctx, void *closure,
u_upload_unmap(ctx->uploader);
/* send the buffer to the remote side for decoding */
- ctx->num_transfers = ctx->num_draws = ctx->num_compute = 0;
+ ctx->num_draws = ctx->num_compute = 0;
virgl_transfer_queue_clear(&ctx->queue, ctx->cbuf);
rs->vws->submit_cmd(rs->vws, ctx->cbuf, fence);