mapi: remove unused function

This function is unused, and also unsafe. Let's just get rid of it.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7280>
This commit is contained in:
Erik Faye-Lund 2020-10-22 18:11:15 +02:00 committed by Marge Bot
parent cf083f1d02
commit 65d6f258c5
1 changed files with 0 additions and 10 deletions

View File

@ -73,14 +73,4 @@ u_current_get_table(void)
#endif
}
static inline const void *
u_current_get_context(void)
{
#ifdef USE_ELF_TLS
return u_current_context;
#else
return likely(u_current_context) ? u_current_context : u_current_get_context_internal();
#endif
}
#endif /* _U_CURRENT_H_ */