virgl: remove unused variable

This variable is now unused, so let's remove it.

Fixes: 9c4930946a (virgl: add encoder functions for new protocol)
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
This commit is contained in:
Erik Faye-Lund
2019-03-06 14:43:15 +01:00
committed by Eric Engestrom
parent 44620d4ef7
commit 55e4759c8d
-1
View File
@@ -1108,7 +1108,6 @@ void virgl_encode_transfer(struct virgl_screen *vs, struct virgl_cmd_buf *buf,
struct virgl_transfer *trans, uint32_t direction)
{
uint32_t command;
struct virgl_resource *res = virgl_resource(trans->base.resource);
command = VIRGL_CMD0(VIRGL_CCMD_TRANSFER3D, 0, VIRGL_TRANSFER3D_SIZE);
virgl_encoder_write_dword(buf, command);
virgl_encoder_transfer3d_common(vs, buf, trans);