From: Mark Michelson Date: Fri, 14 Mar 2014 20:55:06 +0000 (+0000) Subject: Remove an extra ast_cond_wait() that slipped through the patch. X-Git-Tag: 13.0.0-beta1~439 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=510a6e6e6455851e39d7a5be4103c5b80b71e773;p=thirdparty%2Fasterisk.git Remove an extra ast_cond_wait() that slipped through the patch. ........ Merged revisions 410606 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 410607 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@410608 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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(); }