Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> On Fri, Nov 25, 2016 at 6:34 AM, Mun Gwan-gyeong <elong...@gmail.com> wrote:
> anv_queue_init() always returns VK_SUCCESS, so caller does not need > to check return value of anv_queue_init(). > > Signed-off-by: Mun Gwan-gyeong <elong...@gmail.com> > --- > src/intel/vulkan/anv_device.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c > index 2c8ac49..0fd7d41 100644 > --- a/src/intel/vulkan/anv_device.c > +++ b/src/intel/vulkan/anv_device.c > @@ -710,14 +710,12 @@ PFN_vkVoidFunction anv_GetDeviceProcAddr( > return anv_lookup_entrypoint(&device->info, pName); > } > > -static VkResult > +static void > anv_queue_init(struct anv_device *device, struct anv_queue *queue) > { > queue->_loader_data.loaderMagic = ICD_LOADER_MAGIC; > queue->device = device; > queue->pool = &device->surface_state_pool; > - > - return VK_SUCCESS; > } > > static void > -- > 2.10.2 > >
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev