dzn: drop incorrect return statement

We're returning nothing here. Let's not do that.

Reviewed-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15790>
This commit is contained in:
Erik Faye-Lund 2022-04-07 14:02:57 +02:00 committed by Marge Bot
parent 600d99650b
commit 4ae6c34a5a
3 changed files with 6 additions and 6 deletions

View file

@ -1371,8 +1371,8 @@ dzn_DestroyDescriptorPool(VkDevice device,
VkDescriptorPool descriptorPool,
const VkAllocationCallbacks *pAllocator)
{
return dzn_descriptor_pool_destroy(dzn_descriptor_pool_from_handle(descriptorPool),
pAllocator);
dzn_descriptor_pool_destroy(dzn_descriptor_pool_from_handle(descriptorPool),
pAllocator);
}
VKAPI_ATTR VkResult VKAPI_CALL

View file

@ -2441,7 +2441,7 @@ dzn_DestroyEvent(VkDevice device,
VkEvent event,
const VkAllocationCallbacks *pAllocator)
{
return dzn_event_destroy(dzn_event_from_handle(event), pAllocator);
dzn_event_destroy(dzn_event_from_handle(event), pAllocator);
}
VKAPI_ATTR VkResult VKAPI_CALL
@ -2620,5 +2620,5 @@ dzn_DestroySampler(VkDevice device,
VkSampler sampler,
const VkAllocationCallbacks *pAllocator)
{
return dzn_sampler_destroy(dzn_sampler_from_handle(sampler), pAllocator);
dzn_sampler_destroy(dzn_sampler_from_handle(sampler), pAllocator);
}

View file

@ -73,8 +73,8 @@ dzn_DestroyPipelineCache(VkDevice device,
VkPipelineCache pipelineCache,
const VkAllocationCallbacks *pAllocator)
{
return dzn_pipeline_cache_destroy(dzn_pipeline_cache_from_handle(pipelineCache),
pAllocator);
dzn_pipeline_cache_destroy(dzn_pipeline_cache_from_handle(pipelineCache),
pAllocator);
}
VKAPI_ATTR VkResult VKAPI_CALL