diff --git a/lib/base/process-unix.cpp b/lib/base/process-unix.cpp index f390e6632..30944717f 100644 --- a/lib/base/process-unix.cpp +++ b/lib/base/process-unix.cpp @@ -119,9 +119,6 @@ void Process::WorkerThreadProc(int taskFd) unsigned int want = MaxTasksPerThread - tasks.size(); - if (want > m_Tasks.size()) - want = m_Tasks.size(); - if (want > 0) { boost::mutex::scoped_lock lock(m_Mutex);