diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-21 21:05:42 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-21 21:05:42 +0000 |
commit | f3a84b0db7b675c8c60b79b7259d44df84770f89 (patch) | |
tree | ffff29b095f6eda71e42d2b7fbe941aa15ba9812 /channels | |
parent | 171b5daac47677b939a657cbd6ee1d94a4f6003d (diff) |
And as a followup to revision 104026, completely remove event-related
calls from a section of code where we know there was no event to handle or get.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@104027 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_zap.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 8e1a275b7..3c0ad0e9a 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -6938,10 +6938,6 @@ static void *do_monitor(void *data) } else { ast_log(LOG_WARNING, "Read failed with %d: %s\n", res, strerror(errno)); } - /* Don't hold iflock while handling init events -- race with chlock */ - ast_mutex_unlock(&iflock); - handle_init_event(i, res); - ast_mutex_lock(&iflock); } if (pollres & POLLPRI) { if (i->owner || i->subs[SUB_REAL].owner) { |