summaryrefslogtreecommitdiff
path: root/main/db.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2014-03-14 20:55:06 +0000
committerMark Michelson <mmichelson@digium.com>2014-03-14 20:55:06 +0000
commit510a6e6e6455851e39d7a5be4103c5b80b71e773 (patch)
tree43668ebfd2bb3b360811a4b8d8a92dfb5828314c /main/db.c
parent9665c2d3ebb52c5018a7891b2785cae8f7ef0ddc (diff)
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
Diffstat (limited to 'main/db.c')
-rw-r--r--main/db.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/db.c b/main/db.c
index 011fe26e4..94583d678 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();
}