From 6c95ea6bd721c62e123961d6a778c63a9f5d9381 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 23 Jan 2020 15:32:58 -0500 Subject: [PATCH] pan/decode: Remove last_size MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes ../src/panfrost/pandecode/decode.c: In function ‘pandecode_jc’: ../src/panfrost/pandecode/decode.c:2859:14: warning: variable ‘last_size’ set but not used [-Wunused-but-set-variable] 2859 | bool last_size; Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/pandecode/decode.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index c28b13f2efa..80ac64440f5 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -2859,7 +2859,6 @@ pandecode_jc(mali_ptr jc_gpu_va, bool bifrost, unsigned gpu_id) int start_number = 0; bool first = true; - bool last_size; do { struct pandecode_mapped_memory *mem = @@ -2889,9 +2888,6 @@ pandecode_jc(mali_ptr jc_gpu_va, bool bifrost, unsigned gpu_id) pandecode_prop("job_type = %s", pandecode_job_type(h->job_type)); - /* Save for next job fixing */ - last_size = h->job_descriptor_size; - if (h->job_descriptor_size) pandecode_prop("job_descriptor_size = %d", h->job_descriptor_size); -- 2.30.2