Mesa (master): r600g: remove unused variable

Marek Olšák mareko at kemper.freedesktop.org
Wed Jun 8 23:35:18 UTC 2011


Module: Mesa
Branch: master
Commit: d56fe67c6255b1ace84c025c83439ab8cb3f91fe
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d56fe67c6255b1ace84c025c83439ab8cb3f91fe

Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Jun  9 01:34:24 2011 +0200

r600g: remove unused variable

---

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

diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c
index 4e62857..3851042 100644
--- a/src/gallium/drivers/r600/r600_state.c
+++ b/src/gallium/drivers/r600/r600_state.c
@@ -407,7 +407,6 @@ static struct pipe_sampler_view *r600_create_sampler_view(struct pipe_context *c
 							struct pipe_resource *texture,
 							const struct pipe_sampler_view *state)
 {
-	struct r600_pipe_context *rctx = (struct r600_pipe_context *)ctx;
 	struct r600_pipe_sampler_view *resource = CALLOC_STRUCT(r600_pipe_sampler_view);
 	struct r600_pipe_resource_state *rstate;
 	const struct util_format_description *desc;




More information about the mesa-commit mailing list