Mesa (19.0): virgl: remove unused variable
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Mar 13 19:04:56 UTC 2019
Module: Mesa
Branch: 19.0
Commit: 7c171da284b57919e08f7f7508782a5a3f1309b1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c171da284b57919e08f7f7508782a5a3f1309b1
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Wed Mar 6 14:41:54 2019 +0100
virgl: remove unused variable
This variable is now unused, so let's remove it.
Fixes: db77573d7ba (virgl: modify how we handle GL_MAP_FLUSH_EXPLICIT_BIT)
Reviewed-by: Gurchetan Singh <gurchetansingh at chromium.org>
(cherry picked from commit 44620d4ef7d9ac10de489a8238b7f80dce2da510)
---
src/gallium/drivers/virgl/virgl_context.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/gallium/drivers/virgl/virgl_context.c b/src/gallium/drivers/virgl/virgl_context.c
index 08f85f8574a..f9d8e231a13 100644
--- a/src/gallium/drivers/virgl/virgl_context.c
+++ b/src/gallium/drivers/virgl/virgl_context.c
@@ -765,7 +765,6 @@ static void virgl_flush_from_st(struct pipe_context *ctx,
enum pipe_flush_flags flags)
{
struct virgl_context *vctx = virgl_context(ctx);
- struct virgl_screen *rs = virgl_screen(ctx->screen);
if (flags & PIPE_FLUSH_FENCE_FD)
vctx->cbuf->needs_out_fence_fd = true;
More information about the mesa-commit
mailing list