From: Mun Gwan-gyeong Date: Fri, 25 Nov 2016 14:34:44 +0000 (+0900) Subject: radv: drop the return type for radv_queue_init() X-Git-Tag: upstream/17.1.0~4321 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a27dd458b5030be58073f6ab84e144a91be1ced;p=platform%2Fupstream%2Fmesa.git 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 Signed-off-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 1b8864d..3559c30 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