From: Erik Faye-Lund Date: Wed, 6 Mar 2019 13:43:15 +0000 (+0100) Subject: virgl: remove unused variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55e4759c8da5eec71ca2f5ad2460a9ae7137ac39;p=mesa.git 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 --- 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);