projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cb965b
)
radv: drop the return type for radv_queue_init()
author
Mun Gwan-gyeong
<elongbug@gmail.com>
Fri, 25 Nov 2016 14:34:44 +0000
(23:34 +0900)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 27 Nov 2016 23:00:57 +0000
(23:00 +0000)
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>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index 1b8864d6bc30cbd51355c9c55d6b4782ae11232e..3559c30c82343ac11f119adac457301380ffeaa3 100644
(file)
--- 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