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:
Mun Gwan-gyeong 2016-11-25 23:34:44 +09:00 committed by Dave Airlie
parent 8cb965b112
commit 0a27dd458b

View file

@ -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