i965: Delete unused last_ring local.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 13 Mar 2017 05:39:51 +0000 (22:39 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 13 Mar 2017 05:57:46 +0000 (22:57 -0700)
Dead since 071d80bde2a78f464a7f54c3e6c6e42845ef52e4, and causing
warnings.

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

index 8e449829c08e563d7e2368006912f3fef3aa6412..887504273abe04503f8bb1b95c73a263254f8dcb 100644 (file)
@@ -129,7 +129,6 @@ intel_batchbuffer_require_space(struct brw_context *brw, GLuint sz,
    if (intel_batchbuffer_space(&brw->batch) < sz)
       intel_batchbuffer_flush(brw);
 
-   enum brw_gpu_ring prev_ring = brw->batch.ring;
    /* The intel_batchbuffer_flush() calls above might have changed
     * brw->batch.ring to UNKNOWN_RING, so we need to set it here at the end.
     */