aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/nfs/Connection.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-01 22:15:06 +0200
committerMax Kellermann <max@duempel.org>2014-10-01 22:15:06 +0200
commit10cc87e422e09f437f86f56074dc2e018ed75bf1 (patch)
tree8089f17074a307a060fa0ecb55fdafc7c46a30be /src/lib/nfs/Connection.hxx
parent0470f648c6512d7a8a6fc5f66e760dfc85f2c8aa (diff)
downloadmpd-10cc87e422e09f437f86f56074dc2e018ed75bf1.tar.gz
mpd-10cc87e422e09f437f86f56074dc2e018ed75bf1.tar.xz
mpd-10cc87e422e09f437f86f56074dc2e018ed75bf1.zip
lib/nfs/Connection: remove Mutex
All locks are currenly held from only a single thread (the IOThread) and thus we don't need the Mutex.
Diffstat (limited to 'src/lib/nfs/Connection.hxx')
-rw-r--r--src/lib/nfs/Connection.hxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/nfs/Connection.hxx b/src/lib/nfs/Connection.hxx
index 020dc6302..f6e5d2949 100644
--- a/src/lib/nfs/Connection.hxx
+++ b/src/lib/nfs/Connection.hxx
@@ -22,7 +22,6 @@
#include "Lease.hxx"
#include "Cancellable.hxx"
-#include "thread/Mutex.hxx"
#include "event/SocketMonitor.hxx"
#include "event/DeferredMonitor.hxx"
#include "util/Error.hxx"
@@ -64,8 +63,6 @@ class NfsConnection : SocketMonitor, DeferredMonitor {
nfs_context *context;
- Mutex mutex;
-
typedef std::list<NfsLease *> LeaseList;
LeaseList new_leases, active_leases;