iris: Remove iris_slab_free cast

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33558>
This commit is contained in:
José Roberto de Souza 2025-02-05 08:36:11 -08:00 committed by Marge Bot
parent 4f0aa96d26
commit 5a2ee9b534

View file

@ -2456,7 +2456,7 @@ iris_bufmgr_create(struct intel_device_info *devinfo, int fd, bool bo_reuse)
iris_get_heap_max(bufmgr), true, bufmgr,
iris_can_reclaim_slab,
iris_slab_alloc,
(void *) iris_slab_free)) {
iris_slab_free)) {
goto error_slabs_init;
}
min_slab_order = max_order + 1;