diff --git a/src/db/upnp/WorkQueue.hxx b/src/db/upnp/WorkQueue.hxx index 7dcf08c1ffa45b8a1df6a305aacbd0854e214604..285fb8c4e2b0d66f53cfc8d512d466030a331ce4 100644 --- a/src/db/upnp/WorkQueue.hxx +++ b/src/db/upnp/WorkQueue.hxx @@ -121,12 +121,6 @@ public: { const ScopeLock protect(mutex); - if (!IsOK()) { - LOGERR(("WorkQueue::put:%s: !ok or mutex_lock failed\n", - name.c_str())); - return false; - } - while (IsOK() && high > 0 && queue.size() >= high) { // Keep the order: we test IsOK() AFTER the sleep... client_cond.wait(mutex);