virgl: remove unused variable
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 6 Mar 2019 13:41:54 +0000 (14:41 +0100)
committerEric Engestrom <eric@engestrom.ch>
Thu, 7 Mar 2019 17:24:54 +0000 (17:24 +0000)
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@chromium.org>
src/gallium/drivers/virgl/virgl_context.c

index 4c74b16d01db330e58200c4f4358f854e81b183e..1fa89f611494fe6682ee775d6b5f6c5fb9c3bdd4 100644 (file)
@@ -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;