From e5a9bf55231aa14f6ae831a5c47d7176cb6c230b Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 17 Oct 2012 17:01:37 +0200 Subject: gallium: remove unused data pointer from pipe_transfer Reviewed-by: Brian Paul --- src/gallium/drivers/radeonsi/r600_buffer.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gallium/drivers/radeonsi/r600_buffer.c') diff --git a/src/gallium/drivers/radeonsi/r600_buffer.c b/src/gallium/drivers/radeonsi/r600_buffer.c index 2e65d28f293..66bb4d5d914 100644 --- a/src/gallium/drivers/radeonsi/r600_buffer.c +++ b/src/gallium/drivers/radeonsi/r600_buffer.c @@ -69,7 +69,6 @@ static void *r600_buffer_transfer_map(struct pipe_context *ctx, transfer->box = *box; transfer->stride = 0; transfer->layer_stride = 0; - transfer->data = NULL; *ptransfer = transfer; return (uint8_t*)data + transfer->box.x; -- cgit v1.2.3