From: Alyssa Rosenzweig Date: Tue, 26 May 2020 22:03:26 +0000 (-0400) Subject: pan/decode: Fix unused variable warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4bc7d521b13ab64bdc6d2a75ac79a0964955125d;p=mesa.git pan/decode: Fix unused variable warning Check unused for now. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index dc826687174..24ec19ee324 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -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 */