Mesa (master): virgl: remove unused variable

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Mar 7 17:25:10 UTC 2019


Module: Mesa
Branch: master
Commit: 44620d4ef7d9ac10de489a8238b7f80dce2da510
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44620d4ef7d9ac10de489a8238b7f80dce2da510

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>

---

 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 4c74b16d01d..1fa89f61149 100644
--- a/src/gallium/drivers/virgl/virgl_context.c
+++ b/src/gallium/drivers/virgl/virgl_context.c
@@ -784,7 +784,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