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

Author: Dieter Nützel <[email protected]>
Date:   Thu Oct 23 19:59:13 2014 +0200

r600g: Delete unused variable 'max_global_size' in 'r600_get_compute_param'

Signed-off-by: Dieter Nützel <[email protected]>

---

 src/gallium/drivers/radeon/r600_pipe_common.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c 
b/src/gallium/drivers/radeon/r600_pipe_common.c
index a6dbd78..f9393e6 100644
--- a/src/gallium/drivers/radeon/r600_pipe_common.c
+++ b/src/gallium/drivers/radeon/r600_pipe_common.c
@@ -590,7 +590,6 @@ static int r600_get_compute_param(struct pipe_screen 
*screen,
 
        case PIPE_COMPUTE_CAP_MAX_MEM_ALLOC_SIZE:
                if (ret) {
-                       uint64_t max_global_size;
                        uint64_t *max_mem_alloc_size = ret;
 
                        /* XXX: The limit in older kernels is 256 MB.  We

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to