summaryrefslogtreecommitdiff
path: root/innobase/include/os0sync.ic
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/include/os0sync.ic')
-rw-r--r--innobase/include/os0sync.ic14
1 files changed, 0 insertions, 14 deletions
diff --git a/innobase/include/os0sync.ic b/innobase/include/os0sync.ic
index 057ad424dee..aa00300dec5 100644
--- a/innobase/include/os0sync.ic
+++ b/innobase/include/os0sync.ic
@@ -40,17 +40,3 @@ os_fast_mutex_trylock(
}
#endif
-/**************************************************************
-Releases ownership of a fast mutex. */
-UNIV_INLINE
-void
-os_fast_mutex_unlock(
-/*=================*/
- os_fast_mutex_t* fast_mutex) /* in: mutex to release */
-{
-#ifdef __WIN__
- LeaveCriticalSection(fast_mutex);
-#else
- pthread_mutex_unlock(fast_mutex);
-#endif
-}