diff options
author | Matt Turner <[email protected]> | 2017-08-25 20:40:01 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-08-29 15:20:57 -0700 |
commit | cdbaa8a12feff2286b61cecf0b2e5b3feb8d902d (patch) | |
tree | e6051f9e3217c862365202ceabc7241b55e4040e /src/intel/vulkan/anv_allocator.c | |
parent | 5d4afef459629d62b5cce4af30ef021fa20620bb (diff) |
anv: Mark functions used conditionally as UNUSED
The functions we're marking as UNUSED in genX_pipeline.c are used only
when compiling for particular generations.
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_allocator.c')
-rw-r--r-- | src/intel/vulkan/anv_allocator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_allocator.c b/src/intel/vulkan/anv_allocator.c index efaaebcf39c..708b32b3452 100644 --- 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); |