summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-09-24 22:59:46 -0700
committerVinson Lee <vlee@vmware.com>2010-09-24 22:59:46 -0700
commit207481fa53e545e12cb11a3a8b0e64ff0416beeb (patch)
tree75503ca7d848bf4d4a94d624e668c752169bf528 /src/gallium
parent365da88a7127e43eb9327552dda4921d1e8f885e (diff)
r600g: Remove unused variable.
Fixes this GCC warning. r600_buffer.c: In function 'r600_buffer_transfer_map': r600_buffer.c:141: warning: unused variable 'rctx'
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/r600_buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_buffer.c b/src/gallium/drivers/r600/r600_buffer.c
index ea370782fd..1621b2ab63 100644
--- a/src/gallium/drivers/r600/r600_buffer.c
+++ b/src/gallium/drivers/r600/r600_buffer.c
@@ -138,7 +138,6 @@ static void r600_buffer_destroy(struct pipe_screen *screen,
static void *r600_buffer_transfer_map(struct pipe_context *pipe,
struct pipe_transfer *transfer)
{
- struct r600_context *rctx = r600_context(pipe);
struct r600_resource_buffer *rbuffer = r600_buffer(transfer->resource);
struct r600_screen *rscreen = r600_screen(pipe->screen);
int write = 0;