From: Jason Parker Date: Thu, 26 Oct 2006 17:08:40 +0000 (+0000) Subject: Remove a useless ast_mutex_unlock. X-Git-Tag: 1.2.14~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34934b48fe1b1a7005dd8e417d08cfb8c56fe79d;p=thirdparty%2Fasterisk.git Remove a useless ast_mutex_unlock. Issue #8186, patch by anthonyl (fix suggested by benh). git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46332 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 8291f8b7b6..5f875104ff 100644 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -2872,7 +2872,6 @@ static int get_input(struct skinnysession *s) } *(int *)s->inbuf = htolel(dlen); res = read(s->fd, s->inbuf+4, dlen+4); - ast_mutex_unlock(&s->lock); if (res != (dlen+4)) { ast_log(LOG_WARNING, "Skinny Client sent less data than expected.\n"); return -1;