aboutsummaryrefslogtreecommitdiff
path: root/source/Host/common/Condition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Host/common/Condition.cpp')
-rw-r--r--source/Host/common/Condition.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/Host/common/Condition.cpp b/source/Host/common/Condition.cpp
index 7bc6b6554648..1c1afb4add7e 100644
--- a/source/Host/common/Condition.cpp
+++ b/source/Host/common/Condition.cpp
@@ -57,11 +57,6 @@ Condition::Signal ()
return ::pthread_cond_signal (&m_condition);
}
-/* convert struct timeval to ms(milliseconds) */
-static unsigned long int tv2ms(struct timeval a) {
- return ((a.tv_sec * 1000) + (a.tv_usec / 1000));
-}
-
//----------------------------------------------------------------------
// The Wait() function atomically blocks the current thread
// waiting on the owned condition variable, and unblocks the mutex