Index: base/synchronization/lock_impl_posix.cc |
diff --git a/base/synchronization/lock_impl_posix.cc b/base/synchronization/lock_impl_posix.cc |
index e54595b87f10a353647d4a0ee40aa30d2a649780..5ad337d9f715c749b0397cacb8d994e070f5cd57 100644 |
--- a/base/synchronization/lock_impl_posix.cc |
+++ b/base/synchronization/lock_impl_posix.cc |
@@ -4,11 +4,9 @@ |
#include "base/synchronization/lock_impl.h" |
-#include <errno.h> |
#include <string.h> |
#include "base/debug/activity_tracker.h" |
-#include "base/logging.h" |
#include "base/synchronization/lock.h" |
namespace base { |
@@ -65,11 +63,6 @@ void LockImpl::Lock() { |
DCHECK_EQ(rv, 0) << ". " << strerror(rv); |
} |
-void LockImpl::Unlock() { |
- int rv = pthread_mutex_unlock(&native_handle_); |
- DCHECK_EQ(rv, 0) << ". " << strerror(rv); |
-} |
- |
// static |
bool LockImpl::PriorityInheritanceAvailable() { |
#if PRIORITY_INHERITANCE_LOCKS_POSSIBLE() && defined(OS_MACOSX) |