From: Waffl3x Date: Fri, 11 Nov 2022 06:06:47 +0000 (-0500) Subject: Remove redundant code X-Git-Tag: upstream/1.3.240~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=349d85168a0d0afbf1cb81ab2c8da6b1e3f09122;p=platform%2Fupstream%2FVulkan-Loader.git Remove redundant code loader_make_version recently was changed to zero out the patch version, explicitly doing it is no longer necessary. --- diff --git a/loader/trampoline.c b/loader/trampoline.c index b8d76322..9066a087 100644 --- a/loader/trampoline.c +++ b/loader/trampoline.c @@ -459,8 +459,6 @@ LOADER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkCreateInstance(const VkInstanceCr ptr_instance->app_api_version = LOADER_VERSION_1_0_0; } else { ptr_instance->app_api_version = loader_make_version(pCreateInfo->pApplicationInfo->apiVersion); - // zero out the patch version since we don't actually want to compare with it - ptr_instance->app_api_version.patch = 0; } // Look for one or more VK_EXT_debug_report or VK_EXT_debug_utils create info structures