aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-16 14:00:17 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-16 14:00:17 +0000
commit7e887abee959e820796737ab81b815a7cc198942 (patch)
tree5c5b8338706fcb73fc5e61dd329fda5c8c4c6b3d /channel.c
parent8326bd94352848f39e2fb77af6c5c3038374ed3a (diff)
remove an extra lock.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20456 f38db490-d61c-443f-a65b-d21fe96a405b
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);