mapi: Remove unused ENTRY_CURRENT_TABLE_GET
authorYonggang Luo <luoyonggang@gmail.com>
Wed, 27 Jul 2022 06:24:12 +0000 (14:24 +0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 22 Aug 2022 21:32:09 +0000 (21:32 +0000)
The last commit that use ENTRY_CURRENT_TABLE_GET is:

62a68481fa9 ("mapi: Remove usage of USE_ELF_TLS")

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17814>

src/mapi/entry.c

index a2afab6..a4f9790 100644 (file)
 /* define macros for use by assembly dispatchers */
 #define ENTRY_CURRENT_TABLE U_STRINGIFY(u_current_table)
 
-/* in bridge mode, mapi is a user of glapi */
-#ifdef MAPI_MODE_BRIDGE
-#define ENTRY_CURRENT_TABLE_GET "_glapi_get_dispatch"
-#else
-#define ENTRY_CURRENT_TABLE_GET U_STRINGIFY(u_current_get_table_internal)
-#endif
-
 /* REALLY_INITIAL_EXEC implies __GLIBC__ */
 #if defined(USE_X86_ASM) && defined(REALLY_INITIAL_EXEC)
 #include "entry_x86_tls.h"