i965: remove unused variable
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Wed, 29 Apr 2020 14:52:40 +0000 (16:52 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Apr 2020 21:16:45 +0000 (21:16 +0000)
Last use was removed in 54525808aa58.

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4809>

src/mesa/drivers/dri/i965/brw_wm_surface_state.c

index a200468ac2a3c522314be4a363361ce52cade2bd..f51789799e7f66e29d5618ec7c5bf846158ce22f 100644 (file)
@@ -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 {