summaryrefslogtreecommitdiff
path: root/channel.c
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-04-16 14:00:17 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-04-16 14:00:17 +0000
commit5afbcc4f868d73ca3624dda53684caea70d4652c (patch)
tree5c5b8338706fcb73fc5e61dd329fda5c8c4c6b3d /channel.c
parent845298a7b32f2b89d1994217292cd87503ec4bcc (diff)
remove an extra lock.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/channel.c b/channel.c
index 8b5088dc8..8850dd52d 100644
--- 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);