summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGwan-gyeong Mun <[email protected]>2016-11-25 23:34:43 +0900
committerEmil Velikov <[email protected]>2016-11-28 21:11:25 +0000
commitca4706960c27e7ff46ce6ffa64cdaccfd2dee28b (patch)
tree4fd61085a0e4cbce6f2c8ca9ded7eb02a940a6e5 /src
parentecc618b0d88e462270ffedf01502ede4c60fdad9 (diff)
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 <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/vulkan/anv_device.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 0518aafadbe..0b440fb6cfc 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -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