virgl: drop needless return-code

We always return TRUE, and we never check the return-value. Let's
just drop the return value instead.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Erik Faye-Lund 2018-09-05 13:58:35 +01:00
parent 9635869d73
commit b9c40e492d

View file

@ -240,7 +240,7 @@ static void virgl_texture_transfer_unmap(struct pipe_context *ctx,
}
static boolean
static void
vrend_resource_layout(struct virgl_texture *res,
uint32_t *total_size)
{
@ -276,7 +276,6 @@ vrend_resource_layout(struct virgl_texture *res,
*total_size = buffer_size;
else /* don't create guest backing store for MSAA */
*total_size = 0;
return TRUE;
}
static boolean virgl_texture_get_handle(struct pipe_screen *screen,