pan/decode: Fix unused variable warning
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 26 May 2020 22:03:26 +0000 (18:03 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 26 May 2020 22:58:21 +0000 (22:58 +0000)
Check unused for now.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5219>

src/panfrost/pandecode/decode.c

index dc826687174575f50dd7ef792a84d42e4673461c..24ec19ee3240b30bcd36caa88de76766df8af794 100644 (file)
@@ -533,12 +533,6 @@ pandecode_midgard_tiler_descriptor(
         /* It needs to fit inside the reported size */
         //assert(t->polygon_list_size >= body_offset);
 
-        /* Check that we fit */
-        struct pandecode_mapped_memory *plist =
-                pandecode_find_mapped_gpu_mem_containing(t->polygon_list);
-
-        //assert(t->polygon_list_size <= plist->length);
-
         /* Now that we've sanity checked, we'll try to calculate the sizes
          * ourselves for comparison */