mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 05:00:48 +02:00
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:
parent
600d99650b
commit
4ae6c34a5a
3 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue