i915: queiten compiler warnings
authorKeith Whitwell <keith@tungstengraphics.com>
Mon, 26 Jan 2009 12:47:02 +0000 (12:47 +0000)
committerKeith Whitwell <keithw@vmware.com>
Tue, 27 Jan 2009 11:16:32 +0000 (11:16 +0000)
src/gallium/drivers/i915simple/i915_texture.c

index af823f2d3c5d142e8a150769119db15e462eafed..4acc4b021403ca6f4d665b0f54e068dbc9bb30df 100644 (file)
@@ -664,7 +664,6 @@ i915_get_tex_surface(struct pipe_screen *screen,
                      unsigned flags)
 {
    struct i915_texture *tex = (struct i915_texture *)pt;
-   struct pipe_winsys *ws = screen->winsys;
    struct pipe_surface *ps;
    unsigned offset;  /* in bytes */