i915g: remove unused var in i915_flush_heuristically()
authorBrian Paul <brianp@vmware.com>
Mon, 29 Aug 2011 14:11:50 +0000 (08:11 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 29 Aug 2011 14:11:50 +0000 (08:11 -0600)
src/gallium/drivers/i915/i915_batch.h

index 56d331f3e7af3ec8f173165d5d170135edff29fa..30141cc745d21afb18aaf0c1b024da3b8c8fa785 100644 (file)
@@ -63,8 +63,6 @@ void i915_flush(struct i915_context *i915, struct pipe_fence_handle **fence);
 static INLINE void i915_flush_heuristically(struct i915_context* i915,
                                             int num_vertex)
 {
-   struct i915_winsys *iws = i915->iws;
-
    i915->queued_vertices += num_vertex;
 
    /* fire if we have more than 1/20th of the last frame's vertices */