i915g: Remove unused cbuf_dirty.
authorStéphane Marchesin <marcheu@chromium.org>
Mon, 27 Jun 2011 09:08:44 +0000 (02:08 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Mon, 27 Jun 2011 09:08:44 +0000 (02:08 -0700)
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)