<div dir="ltr">Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 25, 2016 at 6:34 AM, Mun Gwan-gyeong <span dir="ltr"><<a href="mailto:elongbug@gmail.com" target="_blank">elongbug@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">anv_queue_init() always returns VK_SUCCESS, so caller does not need<br>
to check return value of anv_queue_init().<br>
<br>
Signed-off-by: Mun Gwan-gyeong <<a href="mailto:elongbug@gmail.com">elongbug@gmail.com</a>><br>
---<br>
 src/intel/vulkan/anv_device.c | 4 +---<br>
 1 file changed, 1 insertion(+), 3 deletions(-)<br>
<br>
diff --git a/src/intel/vulkan/anv_device.<wbr>c b/src/intel/vulkan/anv_device.<wbr>c<br>
index 2c8ac49..0fd7d41 100644<br>
--- a/src/intel/vulkan/anv_device.<wbr>c<br>
+++ b/src/intel/vulkan/anv_device.<wbr>c<br>
@@ -710,14 +710,12 @@ PFN_vkVoidFunction anv_GetDeviceProcAddr(<br>
    return anv_lookup_entrypoint(&device-<wbr>>info, pName);<br>
 }<br>
<br>
-static VkResult<br>
+static void<br>
 anv_queue_init(struct anv_device *device, struct anv_queue *queue)<br>
 {<br>
    queue->_loader_data.<wbr>loaderMagic = ICD_LOADER_MAGIC;<br>
    queue->device = device;<br>
    queue->pool = &device->surface_state_pool;<br>
-<br>
-   return VK_SUCCESS;<br>
 }<br>
<br>
 static void<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.10.2<br>
<br>
</font></span></blockquote></div><br></div>