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:
parent
cf083f1d02
commit
65d6f258c5
|
@ -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_ */
|
||||
|
|
Loading…
Reference in New Issue