From: BJ Weschke Date: Thu, 12 Jan 2006 19:01:35 +0000 (+0000) Subject: Remove an unneccessary unlock and do away with the error msg about not being able... X-Git-Tag: 1.4.0-beta1~2967 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a44bc3a0d70c21d25e0397ae01f7327e81477f78;p=thirdparty%2Fasterisk.git Remove an unneccessary unlock and do away with the error msg about not being able to unlock the lock. #6201 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8020 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 0939e8ba9b..7afb2a83d6 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1323,7 +1323,6 @@ static int compare_weight(struct ast_call_queue *rq, struct member *member) if (found) break; } - ast_mutex_unlock(&qlock); return found; }