]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove an extra ast_cond_wait() that slipped through the patch.
authorMark Michelson <mmichelson@digium.com>
Fri, 14 Mar 2014 20:53:02 +0000 (20:53 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 14 Mar 2014 20:53:02 +0000 (20:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@410606 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/db.c

index f6ad411e5cc4957f364af5a0cfc1910c630379f0..b3f9f29f6c670cedaff406664a5cbc09c3d79aa6 100644 (file)
--- 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();
                }