i965: Fix -Wunused-variable in gen8_write_pma_stall_bits()
authorChad Versace <chadversary@chromium.org>
Thu, 22 Jun 2017 21:42:47 +0000 (14:42 -0700)
committerChad Versace <chadversary@chromium.org>
Thu, 22 Jun 2017 21:44:06 +0000 (14:44 -0700)
Trivial fix.  'ctx' was unused.

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

index 29f16b7960bafb8cba3cff303e3bd31258bfdcfb..52c6dd0787d66e75edea632c9252360c9b201670 100644 (file)
@@ -324,8 +324,6 @@ pma_fix_enable(const struct brw_context *brw)
 void
 gen8_write_pma_stall_bits(struct brw_context *brw, uint32_t pma_stall_bits)
 {
-   struct gl_context *ctx = &brw->ctx;
-
    /* If we haven't actually changed the value, bail now to avoid unnecessary
     * pipeline stalls and register writes.
     */