projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
anv: Mark functions used conditionally as UNUSED
[mesa.git]
/
src
/
intel
/
vulkan
/
anv_allocator.c
diff --git
a/src/intel/vulkan/anv_allocator.c
b/src/intel/vulkan/anv_allocator.c
index efaaebcf39ca208347700a8a264d99d454090dc1..708b32b34520f247014d90711463db90348e49f0 100644
(file)
--- a/
src/intel/vulkan/anv_allocator.c
+++ b/
src/intel/vulkan/anv_allocator.c
@@
-1219,7
+1219,7
@@
anv_bo_cache_lookup_locked(struct anv_bo_cache *cache, uint32_t gem_handle)
return bo;
}
-static struct anv_bo *
+
UNUSED
static struct anv_bo *
anv_bo_cache_lookup(struct anv_bo_cache *cache, uint32_t gem_handle)
{
pthread_mutex_lock(&cache->mutex);