Mesa (master): svga: remove duplicated variable in svga_texture_transfer_map()
Brian Paul
brianp at kemper.freedesktop.org
Fri Aug 26 20:32:33 UTC 2016
Module: Mesa
Branch: master
Commit: 10ef6ddcf97c1f7e42345b5d5b090f1db93a795d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=10ef6ddcf97c1f7e42345b5d5b090f1db93a795d
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 25 15:17:05 2016 -0600
svga: remove duplicated variable in svga_texture_transfer_map()
tex was already declared at the function body scope.
Reviewed-by: Neha Bhende <bhenden at vmware.com>
---
src/gallium/drivers/svga/svga_resource_texture.c | 1 -
1 file changed, 1 deletion(-)
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;
More information about the mesa-commit
mailing list