From 8b20abe24e923d48ea6522a25995da357e7d1ef8 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Fri, 14 Mar 2014 20:53:35 +0000 Subject: [PATCH] Remove an extra ast_cond_wait() that slipped through the patch. ........ Merged revisions 410606 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@410607 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/db.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/main/db.c b/main/db.c index 011fe26e41..94583d678b 100644 --- a/main/db.c +++ b/main/db.c @@ -967,8 +967,6 @@ static void *db_sync_thread(void *data) ast_cond_wait(&dbcond, &dblock); } dosync = 0; - /* We're ok with spurious wakeups, so we don't worry about a predicate */ - ast_cond_wait(&dbcond, &dblock); if (ast_db_commit_transaction()) { ast_db_rollback_transaction(); } -- 2.47.2