i915g: Remove unused cbuf_dirty.
[mesa.git] / src / gallium / drivers / i915 / i915_context.c
index 0d18c7a76bee614f59533e20dcb0c43f95a6c40d..28ff40a2328e1dfc48f2eb4658d9c818e5d34230 100644 (file)
@@ -54,13 +54,11 @@ i915_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info)
    struct i915_context *i915 = i915_context(pipe);
    struct draw_context *draw = i915->draw;
    void *mapped_indices = NULL;
-   unsigned cbuf_dirty;
 
 
    /*
     * Ack vs contants here, helps ipers a lot.
     */
-   cbuf_dirty = i915->dirty & I915_NEW_VS_CONSTANTS;
    i915->dirty &= ~I915_NEW_VS_CONSTANTS;
 
    if (i915->dirty)