summaryrefslogtreecommitdiffstats
path: root/src/panfrost/pandecode
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-01-23 15:32:58 -0500
committerMarge Bot <[email protected]>2020-01-24 18:53:31 +0000
commit6c95ea6bd721c62e123961d6a778c63a9f5d9381 (patch)
tree5f5c842ac35a2bf4adbb8853ada7728bb10031e0 /src/panfrost/pandecode
parentd126515a16d268ec5aae5daf116df53cdc47fb88 (diff)
pan/decode: Remove last_size
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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3543>
Diffstat (limited to 'src/panfrost/pandecode')
-rw-r--r--src/panfrost/pandecode/decode.c4
1 files changed, 0 insertions, 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);