remove an extra lock.
authorLuigi Rizzo <rizzo@icir.org>
Sun, 16 Apr 2006 14:00:17 +0000 (14:00 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sun, 16 Apr 2006 14:00:17 +0000 (14:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20456 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index 8b5088d..8850dd5 100644 (file)
--- a/channel.c
+++ b/channel.c
@@ -1891,7 +1891,6 @@ static struct ast_frame *__ast_read(struct ast_channel *chan, int dropaudio)
                                func(data);
                        } else {
                                blah = 0;
-                               ast_channel_lock(chan);
                                ioctl(chan->timingfd, ZT_TIMERCONFIG, &blah);
                                chan->timingdata = NULL;
                                ast_channel_unlock(chan);