From 2efa76f795cb2b2bf00b317c580aeeeddd1e9bc2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcin=20=C5=9Alusarz?= Date: Wed, 29 Apr 2020 16:52:40 +0200 Subject: [PATCH] i965: remove unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Last use was removed in 54525808aa58. Signed-off-by: Marcin Ślusarz Reviewed-by: Jason Ekstrand Part-of: --- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index a200468ac2a..f51789799e7 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -1327,8 +1327,6 @@ upload_buffer_surface(struct brw_context *brw, enum isl_format format, unsigned reloc_flags) { - struct gl_context *ctx = &brw->ctx; - if (!binding->BufferObject) { emit_null_surface_state(brw, NULL, out_offset); } else { -- 2.30.2