anv: remove anv_reloc_list->array_length
This is another field that, after the recent commits, became unused. It's either zero-initialized (by the memset) or copy-initialized (which means it's also zero). And it never even gets used anywhere anyway, so even if the value was non-zero it wouldn't matter. 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:
@@ -1394,7 +1394,6 @@ void anv_vma_free(struct anv_device *device,
|
||||
uint64_t address, uint64_t size);
|
||||
|
||||
struct anv_reloc_list {
|
||||
uint32_t array_length;
|
||||
uint32_t dep_words;
|
||||
BITSET_WORD * deps;
|
||||
};
|
||||
|
Reference in New Issue
Block a user