diff options
author | Max Kellermann <max@duempel.org> | 2014-01-16 09:29:11 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-16 09:29:11 +0100 |
commit | 02769929b31479bffa3e42c101a9bb192c07976f (patch) | |
tree | 8e7c4f6cc4ae5d95c574aaae5b9cc2b8b521e58a /src/db/upnp | |
parent | 1a09003a6e8fc5ae3b1e4b01ae8432b0ed3ca7bd (diff) | |
download | mpd-02769929b31479bffa3e42c101a9bb192c07976f.tar.gz mpd-02769929b31479bffa3e42c101a9bb192c07976f.tar.xz mpd-02769929b31479bffa3e42c101a9bb192c07976f.zip |
db/upnp: remove useless static Mutex
Diffstat (limited to '')
-rw-r--r-- | src/db/upnp/Discovery.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/db/upnp/Discovery.cxx b/src/db/upnp/Discovery.cxx index 97b57c89c..2824d4b56 100644 --- a/src/db/upnp/Discovery.cxx +++ b/src/db/upnp/Discovery.cxx @@ -157,15 +157,9 @@ discoExplorer(void *) // thread context. // Example: ContentDirectories appearing and disappearing from the network // We queue a task for our worker thread(s) -// It seems that this can get called by several threads. We have a -// mutex just for clarifying the message printing, the workqueue is -// mt-safe of course. static int cluCallBack(Upnp_EventType et, void *evp) { - static Mutex cblock; - const ScopeLock protect(cblock); - switch (et) { case UPNP_DISCOVERY_SEARCH_RESULT: case UPNP_DISCOVERY_ADVERTISEMENT_ALIVE: |