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
This commit is contained in:
Mark Michelson
2014-03-14 20:53:35 +00:00
parent 0d0c99489c
commit 8b20abe24e

View File

@@ -967,8 +967,6 @@ static void *db_sync_thread(void *data)
ast_cond_wait(&dbcond, &dblock); ast_cond_wait(&dbcond, &dblock);
} }
dosync = 0; 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()) { if (ast_db_commit_transaction()) {
ast_db_rollback_transaction(); ast_db_rollback_transaction();
} }