[svn-commits] rizzo: trunk r47074 - /trunk/channels/chan_agent.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Fri Nov 3 05:19:23 MST 2006
Author: rizzo
Date: Fri Nov 3 06:19:22 2006
New Revision: 47074
URL: http://svn.digium.com/view/asterisk?rev=47074&view=rev
Log:
remove useless usecnt stuff
Modified:
trunk/channels/chan_agent.c
Modified: trunk/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_agent.c?rev=47074&r1=47073&r2=47074&view=diff
==============================================================================
--- trunk/channels/chan_agent.c (original)
+++ trunk/channels/chan_agent.c Fri Nov 3 06:19:22 2006
@@ -937,11 +937,6 @@
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
More information about the svn-commits
mailing list