aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/virgl/common/virgl_resource_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/virgl/common/virgl_resource_cache.c')
-rw-r--r--src/gallium/winsys/virgl/common/virgl_resource_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/virgl/common/virgl_resource_cache.c b/src/gallium/winsys/virgl/common/virgl_resource_cache.c
index c78cfb4f9ef..21ec987ba4d 100644
--- a/src/gallium/winsys/virgl/common/virgl_resource_cache.c
+++ b/src/gallium/winsys/virgl/common/virgl_resource_cache.c
@@ -45,7 +45,7 @@ static void
virgl_resource_cache_entry_release(struct virgl_resource_cache *cache,
struct virgl_resource_cache_entry *entry)
{
- LIST_DEL(&entry->head);
+ list_del(&entry->head);
cache->entry_release_func(entry, cache->user_data);
}
@@ -135,7 +135,7 @@ virgl_resource_cache_remove_compatible(struct virgl_resource_cache *cache,
}
if (compat_entry)
- LIST_DEL(&compat_entry->head);
+ list_del(&compat_entry->head);
return compat_entry;
}