pvr: Remove duplicate variable queue_create.
authorVinson Lee <vlee@freedesktop.org>
Sun, 27 Mar 2022 21:05:00 +0000 (14:05 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 29 Mar 2022 08:56:27 +0000 (08:56 +0000)
commit79ba1962ac873f02a22ea247006cde94bd32f78d
tree11df7771c6e71ff8fccf1e40e2445f29ba9228d8
parent10734fb7482ac10d7085eff5184467fe93354564
pvr: Remove duplicate variable queue_create.

Fix defect reported by Coverity Scan.

Evaluation order violation (EVALUATION_ORDER)
write_write_typo: In queue_create = queue_create = &pCreateInfo->pQueueCreateInfos[0], queue_create is written twice with the same value.

Fixes: 8991e646411 ("pvr: Add a Vulkan driver for Imagination Technologies PowerVR Rogue GPUs")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15604>
src/imagination/vulkan/pvr_queue.c