[asterisk-commits] mmichelson: branch group/CCSS r247836 - /team/group/CCSS/main/ccss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 18 16:30:31 CST 2010


Author: mmichelson
Date: Thu Feb 18 16:30:27 2010
New Revision: 247836

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=247836
Log:
Remove some useless code.


Modified:
    team/group/CCSS/main/ccss.c

Modified: team/group/CCSS/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=247836&r1=247835&r2=247836
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Thu Feb 18 16:30:27 2010
@@ -858,10 +858,6 @@
 	AST_RWLIST_UNLOCK(&cc_agent_backends);
 	return callbacks;
 }
-
-static struct ast_cc_monitor_callbacks extension_monitor_cbs = {
-	.type = "extension",
-};
 
 static int cc_generic_monitor_request_cc(struct ast_cc_monitor *monitor, int *available_timer_id);
 static int cc_generic_monitor_suspend(struct ast_cc_monitor *monitor);
@@ -3938,7 +3934,6 @@
 	}
 	res = ast_register_application2(ccreq_app, ccreq_exec, NULL, NULL, NULL);
 	res |= ast_register_application2(cccancel_app, cccancel_exec, NULL, NULL, NULL);
-	res |= ast_cc_monitor_register(&extension_monitor_cbs);
 	res |= ast_cc_monitor_register(&generic_monitor_cbs);
 	res |= ast_cc_agent_register(&generic_agent_callbacks);
 	ast_cli_register_multiple(cc_cli, ARRAY_LEN(cc_cli));




More information about the asterisk-commits mailing list