anv: remove anv_reloc_list->reloc_bos

As a consequence of the last two commits, reloc_bos is always NULL and
never used anywhere, so remove it.

Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20309>
This commit is contained in:
Paulo Zanoni
2022-12-12 15:15:38 -08:00
parent f1c4c646b8
commit 1358622878
2 changed files with 0 additions and 3 deletions

View File

@@ -67,7 +67,6 @@ anv_reloc_list_init_clone(struct anv_reloc_list *list,
const struct anv_reloc_list *other_list) const struct anv_reloc_list *other_list)
{ {
list->array_length = other_list->array_length; list->array_length = other_list->array_length;
list->reloc_bos = NULL;
list->dep_words = other_list->dep_words; list->dep_words = other_list->dep_words;
if (list->dep_words > 0) { if (list->dep_words > 0) {
@@ -87,7 +86,6 @@ void
anv_reloc_list_finish(struct anv_reloc_list *list, anv_reloc_list_finish(struct anv_reloc_list *list,
const VkAllocationCallbacks *alloc) const VkAllocationCallbacks *alloc)
{ {
vk_free(alloc, list->reloc_bos);
vk_free(alloc, list->deps); vk_free(alloc, list->deps);
} }

View File

@@ -1395,7 +1395,6 @@ void anv_vma_free(struct anv_device *device,
struct anv_reloc_list { struct anv_reloc_list {
uint32_t array_length; uint32_t array_length;
struct anv_bo ** reloc_bos;
uint32_t dep_words; uint32_t dep_words;
BITSET_WORD * deps; BITSET_WORD * deps;
}; };