diff options
author | Mun Gwan-gyeong <[email protected]> | 2016-11-25 23:34:44 +0900 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-11-27 23:00:57 +0000 |
commit | 0a27dd458b5030be58073f6ab84e144a91be1ced (patch) | |
tree | 6b0f6cd17c649fbd2fa293243bb72654ffa6f737 /src/amd | |
parent | 8cb965b112ad8a8465c4c5063b821a0210008d7d (diff) |
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 <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 1b8864d6bc3..3559c30c823 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -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 |