Mesa (gallium-context-transfers): nouveau: remove unused variable

Keith Whitwell keithw at kemper.freedesktop.org
Thu Mar 11 15:18:30 UTC 2010


Module: Mesa
Branch: gallium-context-transfers
Commit: 188a3f5331c8e5966729fd59d02975afb7324adc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=188a3f5331c8e5966729fd59d02975afb7324adc

Author: Keith Whitwell <keithw at vmware.com>
Date:   Thu Mar 11 14:11:10 2010 +0000

nouveau: remove unused variable

---

 src/gallium/drivers/nouveau/nv04_surface_2d.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/nouveau/nv04_surface_2d.c b/src/gallium/drivers/nouveau/nv04_surface_2d.c
index b074547..9311446 100644
--- a/src/gallium/drivers/nouveau/nv04_surface_2d.c
+++ b/src/gallium/drivers/nouveau/nv04_surface_2d.c
@@ -518,7 +518,6 @@ nv04_surface_wrap_for_render(struct pipe_screen *pscreen, struct nv04_surface_2d
 		ns->base.usage = PIPE_BUFFER_USAGE_GPU_WRITE | NOUVEAU_BUFFER_USAGE_NO_RENDER | PIPE_BUFFER_USAGE_GPU_READ;
 	}
 
-	struct nv40_screen* screen = (struct nv40_screen*)pscreen;
 	ns->base.usage = PIPE_BUFFER_USAGE_GPU_READ | PIPE_BUFFER_USAGE_GPU_WRITE;
 
 	struct pipe_texture templ;




More information about the mesa-commit mailing list