summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/pthreadpool/pthreadpool.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/pthreadpool/pthreadpool.c b/lib/pthreadpool/pthreadpool.c
index b6dad310b0d..cbabec9e25d 100644
--- a/lib/pthreadpool/pthreadpool.c
+++ b/lib/pthreadpool/pthreadpool.c
@@ -806,10 +806,6 @@ int pthreadpool_add_job(struct pthreadpool *pool, int job_id,
return 0;
}
- /*
- * No thread could be created to run job, fallback to sync
- * call.
- */
pthreadpool_undo_put_job(pool);
unlock_res = pthread_mutex_unlock(&pool->mutex);