Mesa (master): i915g: remove unused var in i915_flush_heuristically()

Brian Paul brianp at kemper.freedesktop.org
Mon Aug 29 14:12:04 UTC 2011


Module: Mesa
Branch: master
Commit: beca3316fbf317c1032e73c9296c7777d35deb9d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=beca3316fbf317c1032e73c9296c7777d35deb9d

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Aug 29 08:11:50 2011 -0600

i915g: remove unused var in i915_flush_heuristically()

---

 src/gallium/drivers/i915/i915_batch.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/i915/i915_batch.h b/src/gallium/drivers/i915/i915_batch.h
index 56d331f..30141cc 100644
--- a/src/gallium/drivers/i915/i915_batch.h
+++ b/src/gallium/drivers/i915/i915_batch.h
@@ -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 */




More information about the mesa-commit mailing list