From: Brian Paul Date: Thu, 25 Aug 2016 21:17:05 +0000 (-0600) Subject: svga: remove duplicated variable in svga_texture_transfer_map() X-Git-Tag: upstream/17.1.0~6913 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10ef6ddcf97c1f7e42345b5d5b090f1db93a795d;p=platform%2Fupstream%2Fmesa.git svga: remove duplicated variable in svga_texture_transfer_map() tex was already declared at the function body scope. Reviewed-by: Neha Bhende --- diff --git a/src/gallium/drivers/svga/svga_resource_texture.c b/src/gallium/drivers/svga/svga_resource_texture.c index 9104b0a..450ed2b 100644 --- a/src/gallium/drivers/svga/svga_resource_texture.c +++ b/src/gallium/drivers/svga/svga_resource_texture.c @@ -525,7 +525,6 @@ svga_texture_transfer_map(struct pipe_context *pipe, } else { SVGA3dSize baseLevelSize; - struct svga_texture *tex = svga_texture(texture); struct svga_winsys_surface *surf = tex->handle; uint8_t *map; boolean retry;