[Mesa-dev] [PATCH 2/4] radv: remove unused radv_dispatch_table dtable

Emil Velikov emil.l.velikov at gmail.com
Sun Feb 19 11:49:20 UTC 2017


Fixes: 12301c54186 ("radv: drop the RADV_CALL macro.")
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/amd/vulkan/radv_device.c  | 1 -
 src/amd/vulkan/radv_private.h | 2 --
 2 files changed, 3 deletions(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 6f2fac2a9f..7039052a2d 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -44,7 +44,6 @@
 #include "vk_format.h"
 #include "sid.h"
 #include "util/debug.h"
-struct radv_dispatch_table dtable;
 
 static int
 radv_get_function_timestamp(void *ptr, uint32_t* timestamp)
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 099dba3f64..1d8ff287b3 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -262,8 +262,6 @@ void radv_loge_v(const char *format, va_list va);
 void *radv_resolve_entrypoint(uint32_t index);
 void *radv_lookup_entrypoint(const char *name);
 
-extern struct radv_dispatch_table dtable;
-
 struct radv_extensions {
 	VkExtensionProperties       *ext_array;
 	uint32_t                    num_ext;
-- 
2.11.0



More information about the mesa-dev mailing list