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>
diff --git a/src/mapi/u_current.h b/src/mapi/u_current.h
index 9a79f0b..8f7d222 100644
--- a/src/mapi/u_current.h
+++ b/src/mapi/u_current.h
@@ -73,14 +73,4 @@
 #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_ */