diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-11-03 12:19:22 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-11-03 12:19:22 +0000 |
commit | 4b70ae927c06f4a635ba8167348860957d81b4b3 (patch) | |
tree | d16e756999b28fad59c6980bcd31e50784fa1bb6 /channels | |
parent | 5397441866cbc2dd15433eab7923139a73681ac3 (diff) |
remove useless usecnt stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_agent.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/channels/chan_agent.c b/channels/chan_agent.c index 53bc37201..4eff85fdb 100644 --- a/channels/chan_agent.c +++ b/channels/chan_agent.c @@ -937,11 +937,6 @@ static struct ast_channel *agent_new(struct agent_pvt *p, int state) ast_setstate(tmp, state); tmp->tech_pvt = p; p->owner = tmp; - /* XXX: this needs fixing */ -#if 0 - ast_atomic_fetchadd_int(&__mod_desc->usecnt, +1); -#endif - ast_update_use_count(); tmp->priority = 1; /* Wake up and wait for other applications (by definition the login app) * to release this channel). Takes ownership of the agent channel |