r600g: Remove unused variable.
authorVinson Lee <vlee@vmware.com>
Sat, 25 Sep 2010 05:59:46 +0000 (22:59 -0700)
committerVinson Lee <vlee@vmware.com>
Sat, 25 Sep 2010 05:59:46 +0000 (22:59 -0700)
Fixes this GCC warning.
r600_buffer.c: In function 'r600_buffer_transfer_map':
r600_buffer.c:141: warning: unused variable 'rctx'

src/gallium/drivers/r600/r600_buffer.c

index ea370782fdb1a19cb5f395ccd71c0cb3d5abc352..1621b2ab63f3cef4ac4893d8ef2babed4ae23fb1 100644 (file)
@@ -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;