From: Marcin Ślusarz Date: Wed, 29 Apr 2020 14:52:40 +0000 (+0200) Subject: i965: remove unused variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2efa76f795cb2b2bf00b317c580aeeeddd1e9bc2;p=mesa.git i965: remove unused variable Last use was removed in 54525808aa58. Signed-off-by: Marcin Ślusarz Reviewed-by: Jason Ekstrand Part-of: --- 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 {