From 44620d4ef7d9ac10de489a8238b7f80dce2da510 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 6 Mar 2019 14:41:54 +0100 Subject: [PATCH] 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 --- 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; -- 2.30.2