From: Courtney Goeltzenleuchter Date: Thu, 17 Sep 2015 17:19:46 +0000 (-0600) Subject: nulldrv: Remove unused function X-Git-Tag: submit/tizen/20181227.054638~4875 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=418f815c2b32675c1c3f4cefaa05875b111cb05f;p=platform%2Fupstream%2FVulkan-Tools.git nulldrv: Remove unused function --- diff --git a/icd/nulldrv/nulldrv.c b/icd/nulldrv/nulldrv.c index 3c162d21..9f0ed0d5 100644 --- a/icd/nulldrv/nulldrv.c +++ b/icd/nulldrv/nulldrv.c @@ -228,22 +228,6 @@ static struct nulldrv_gpu *nulldrv_gpu(VkPhysicalDevice gpu) return (struct nulldrv_gpu *) gpu; } -static VkResult nulldrv_rt_view_create(struct nulldrv_dev *dev, - const VkImageViewCreateInfo *info, - struct nulldrv_rt_view **view_ret) -{ - struct nulldrv_rt_view *view; - - view = (struct nulldrv_rt_view *) nulldrv_base_create(dev, sizeof(*view), - VK_OBJECT_TYPE_ATTACHMENT_VIEW); - if (!view) - return VK_ERROR_OUT_OF_HOST_MEMORY; - - *view_ret = view; - - return VK_SUCCESS; -} - static VkResult nulldrv_fence_create(struct nulldrv_dev *dev, const VkFenceCreateInfo *info, struct nulldrv_fence **fence_ret)