anv: drop the return type for anv_queue_init()
anv_queue_init() always returns VK_SUCCESS, so caller does not need to check return value of anv_queue_init(). Signed-off-by: Mun Gwan-gyeong <elongbug@gmail.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
ecc618b0d8
commit
ca4706960c
|
@ -737,14 +737,12 @@ PFN_vkVoidFunction anv_GetDeviceProcAddr(
|
|||
return anv_lookup_entrypoint(&device->info, pName);
|
||||
}
|
||||
|
||||
static VkResult
|
||||
static void
|
||||
anv_queue_init(struct anv_device *device, struct anv_queue *queue)
|
||||
{
|
||||
queue->_loader_data.loaderMagic = ICD_LOADER_MAGIC;
|
||||
queue->device = device;
|
||||
queue->pool = &device->surface_state_pool;
|
||||
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue