From a44bc3a0d70c21d25e0397ae01f7327e81477f78 Mon Sep 17 00:00:00 2001
From: BJ Weschke <bweschke@btwtech.com>
Date: Thu, 12 Jan 2006 19:01:35 +0000
Subject: [PATCH]  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
---
 apps/app_queue.c | 1 -
 1 file changed, 1 deletion(-)

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;
 }
 
-- 
GitLab