Remove some bogus deadlock avoidance code from local_attended_transfer.
authorMark Michelson <mmichelson@digium.com>
Tue, 30 Jun 2009 19:55:59 +0000 (19:55 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 30 Jun 2009 19:55:59 +0000 (19:55 +0000)
commitab2b9bd16d965d94ec6faeedf7e9875d4542b5cd
tree5e949aed17c493932948b49042ccc721cc1123ad
parent51d7dc5d83e6d293997eb729b2eec29faf32626a
Remove some bogus deadlock avoidance code from local_attended_transfer.

First of all, the code was unnecessary. The goal was to lock a channel
which was already locked. Second, the assumption of the deadlock avoidance
loop was that the sip_pvt was already locked and we were trying to get the
channel lock. The problem is that the sip_pvt was unlocked a few lines above.

Basically, I'm removing 5 lines of no-op.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@204530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c