[svn-commits] mmichelson: branch group/CCSS_Monitor_Restructure r242044 - /team/group/CCSS_...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jan 21 15:06:25 CST 2010


Author: mmichelson
Date: Thu Jan 21 15:06:21 2010
New Revision: 242044

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=242044
Log:
Remove unused unsuspend functions.


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

Modified: team/group/CCSS_Monitor_Restructure/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS_Monitor_Restructure/main/ccss.c?view=diff&rev=242044&r1=242043&r2=242044
==============================================================================
--- team/group/CCSS_Monitor_Restructure/main/ccss.c (original)
+++ team/group/CCSS_Monitor_Restructure/main/ccss.c Thu Jan 21 15:06:21 2010
@@ -901,28 +901,11 @@
 	AST_DLLIST_ENTRY(cc_monitor) next;
 };
 
-static int cc_extension_monitor_unsuspend(struct ast_cc_monitor *monitor, const int core_id);
-
 static struct ast_cc_monitor_callbacks extension_monitor_cbs = {
 	.type = "extension",
 	.status_response = cc_extension_monitor_status_response,
 	.unsuspend = cc_extension_monitor_unsuspend,
 };
-
-static int cc_extension_monitor_unsuspend(struct ast_cc_monitor *monitor, const int core_id)
-{
-	struct ast_cc_monitor_link *link_iter;
-	AST_LIST_TRAVERSE(&monitor->child_links, link_iter, next_child) {
-		if (link_iter->core_id != core_id) {
-			continue;
-		}
-		ast_assert(link_iter->child != NULL);
-		ast_assert(link_iter->child->callbacks != NULL);
-		link_iter->is_suspended = 0;
-		link_iter->child->callbacks->unsuspend(link_iter->child, core_id);
-	}
-	return 0;
-}
 
 static int cc_generic_monitor_request_cc2(struct cc_monitor *monitor, int *available_timer_id);
 static int cc_generic_monitor_suspend2(struct cc_monitor *monitor);




More information about the svn-commits mailing list