Mesa (master): r300g: silence warnings

Marek Olšák mareko at kemper.freedesktop.org
Wed Feb 10 19:16:35 UTC 2016


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

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Feb 10 20:14:53 2016 +0100

r300g: silence warnings

---

 src/gallium/drivers/r300/r300_transfer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_transfer.c b/src/gallium/drivers/r300/r300_transfer.c
index 842e70a..9d00f4d 100644
--- a/src/gallium/drivers/r300/r300_transfer.c
+++ b/src/gallium/drivers/r300/r300_transfer.c
@@ -246,9 +246,7 @@ r300_texture_transfer_map(struct pipe_context *ctx,
 void r300_texture_transfer_unmap(struct pipe_context *ctx,
 				 struct pipe_transfer *transfer)
 {
-    struct radeon_winsys *rws = r300_context(ctx)->rws;
     struct r300_transfer *trans = r300_transfer(transfer);
-    struct r300_resource *tex = r300_resource(transfer->resource);
 
     if (trans->linear_texture) {
         if (transfer->usage & PIPE_TRANSFER_WRITE) {




More information about the mesa-commit mailing list