libvulkan: Remove dead special cases in GetDeviceProcAddr
Change-Id: I58c5cad288f3d96acc9903a2323ec9fcf21798fd
(cherry picked from commit 18f7ae3776050529c3c244e639eb5095808963d9)
diff --git a/vulkan/libvulkan/loader.cpp b/vulkan/libvulkan/loader.cpp
index 3da5b70..fe33114 100644
--- a/vulkan/libvulkan/loader.cpp
+++ b/vulkan/libvulkan/loader.cpp
@@ -1058,12 +1058,6 @@
if (strcmp(name, "vkDestroyDevice") == 0) {
return reinterpret_cast<PFN_vkVoidFunction>(DestroyDevice);
}
- // For special-case functions we always return the loader entry
- if (strcmp(name, "vkGetDeviceQueue") == 0 ||
- strcmp(name, "vkCreateCommandBuffer") == 0 ||
- strcmp(name, "vkDestroyDevice") == 0) {
- return GetGlobalDeviceProcAddr(name);
- }
return GetSpecificDeviceProcAddr(GetVtbl(device), name);
}