From: Vinson Lee Date: Sat, 25 Sep 2010 05:59:46 +0000 (-0700) Subject: r600g: Remove unused variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=207481fa53e545e12cb11a3a8b0e64ff0416beeb;p=mesa.git 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' --- diff --git a/src/gallium/drivers/r600/r600_buffer.c b/src/gallium/drivers/r600/r600_buffer.c index ea370782fdb..1621b2ab63f 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;