anv: remove list items on batch fini
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 19 Sep 2019 22:24:53 +0000 (01:24 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 11 Nov 2019 21:46:51 +0000 (21:46 +0000)
commit935f8f0e56a409b10fac86e18f68be776cdff29f
tree94bf89a13ef23bb67f62a850b8507e0f223642c2
parent048f0690ee4b39f865d4d6ad82a6c0290dcaaf41
anv: remove list items on batch fini

This doesn't seem to fix anything because those destroy() calls happen
right before the command buffer object & its list of batch_bo is also
destroyed. Still looks a bit cleaner.

v2: Found a second occurence

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v2)
Fixes: 26ba0ad54d ("vk: Re-name command buffer implementation files")
Cc: <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/anv_batch_chain.c