[asterisk-commits] mmichelson: branch group/CCSS r215884 - /team/group/CCSS/main/ccss.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 3 07:08:41 CDT 2009
Author: mmichelson
Date: Thu Sep 3 07:08:37 2009
New Revision: 215884
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=215884
Log:
Remove "stub" status for cc_monitor_tree_init and remove
the roadplan comments. This function is complete now.
Modified:
team/group/CCSS/main/ccss.c
Modified: team/group/CCSS/main/ccss.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=215884&r1=215883&r2=215884
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Thu Sep 3 07:08:37 2009
@@ -934,30 +934,6 @@
static int cc_monitor_tree_init(const int core_id)
{
- /* Oh boy
- *
- * So, this is where we set up the monitor
- * for the CC request we just received. Let's
- * do our usual thing and break it into steps,
- * shall we? Okay.
- *
- * 1. Use the core_id to find the core instance
- * and pending offer.
- *
- * 2. Get a reference to the root monitor.
- *
- * 3. Morph the pending offer into a monitor
- * tree. For each item in the pending offer's
- * interface tree, a new monitor link MUST
- * be created. However, a new monitor struct
- * will not necessarily.
- *
- * 4. Call each device monitor's request_cc
- * callback.
- *
- * 5. Profit
- */
-
struct cc_core_instance *core_instance;
struct core_pending_cc_offer *pending_offer;
struct cc_core_instance instance_finder = { .core_id = core_id };
@@ -978,7 +954,6 @@
ao2_ref(core_instance, -1);
ao2_ref(pending_offer, -1);
- /* STUB */
return 0;
}
More information about the asterisk-commits
mailing list