diff options
author | Erik Faye-Lund <[email protected]> | 2019-03-13 17:25:41 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-04-17 07:27:07 +0000 |
commit | 18a721fd566eb484772496110eed1bf0d1db0c83 (patch) | |
tree | 282d7cdf901e627f0534ffa1078efe98b0f2382b /src/gallium/drivers/virgl/virgl_buffer.c | |
parent | 3c5a9ab9f01d1d299eea1b99b9346c639fc30612 (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_buffer.c')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_buffer.c | 1 |
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 784cc02a545..7081c090814 100644 --- a/src/gallium/drivers/virgl/virgl_buffer.c +++ b/src/gallium/drivers/virgl/virgl_buffer.c @@ -88,7 +88,6 @@ static void virgl_buffer_transfer_unmap(struct pipe_context *ctx, trans->offset = transfer->box.x; } - vctx->num_transfers++; virgl_transfer_queue_unmap(&vctx->queue, trans); } else virgl_resource_destroy_transfer(&vctx->transfer_pool, trans); |