mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
radv: drop the return type for radv_queue_init()
radv_queue_init() always returns VK_SUCCESS, so caller does not need to check return value of radv_queue_init(). Signed-off-by: Mun Gwan-gyeong <elongbug@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
8cb965b112
commit
0a27dd458b
1 changed files with 1 additions and 3 deletions
|
|
@ -611,13 +611,11 @@ void radv_GetPhysicalDeviceMemoryProperties(
|
|||
};
|
||||
}
|
||||
|
||||
static VkResult
|
||||
static void
|
||||
radv_queue_init(struct radv_device *device, struct radv_queue *queue)
|
||||
{
|
||||
queue->_loader_data.loaderMagic = ICD_LOADER_MAGIC;
|
||||
queue->device = device;
|
||||
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue