diff options
author | Erik Faye-Lund <[email protected]> | 2019-03-06 14:43:15 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-03-07 17:24:54 +0000 |
commit | 55e4759c8da5eec71ca2f5ad2460a9ae7137ac39 (patch) | |
tree | 582c0c0ceca31a144f30708853c7ee5e973024f0 | |
parent | 44620d4ef7d9ac10de489a8238b7f80dce2da510 (diff) |
virgl: remove unused variable
This variable is now unused, so let's remove it.
Fixes: 9c4930946a5 (virgl: add encoder functions for new protocol)
Reviewed-by: Gurchetan Singh <[email protected]>
-rw-r--r-- | src/gallium/drivers/virgl/virgl_encode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_encode.c b/src/gallium/drivers/virgl/virgl_encode.c index ad7842f0f37..a3029e6f213 100644 --- a/src/gallium/drivers/virgl/virgl_encode.c +++ b/src/gallium/drivers/virgl/virgl_encode.c @@ -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); |