r600g: Delete unused variable 'max_global_size' in 'r600_get_compute_param'
authorDieter Nützel <Dieter@nuetzel-hh.de>
Thu, 23 Oct 2014 17:59:13 +0000 (19:59 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 30 Oct 2014 21:24:18 +0000 (22:24 +0100)
Signed-off-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/drivers/radeon/r600_pipe_common.c

index a6dbd78036d82ea272b7e81b983d550ad0238a12..f9393e601189ec46bad386d6015c44a94489552f 100644 (file)
@@ -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