Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill dead code
[simgrid.git] / src / surf / surf_routing.c
index 76ac3e8..b5320db 100644 (file)
@@ -151,17 +151,6 @@ static void parse_S_router(sg_platf_router_cbarg_t router)
   }
 }
 
   }
 }
 
-/**
- * brief Add a "router" to the network element list from XML description
- */
-static void parse_S_router_lua(const char* router_id) {
-  s_sg_platf_router_cbarg_t router;
-  memset(&router,0,sizeof(router));
-       router.id = router_id;
-       router.coord = "";
-       return parse_S_router(&router);
-}
-
 /**
  * \brief Set the endponints for a route
  */
 /**
  * \brief Set the endponints for a route
  */
@@ -187,14 +176,6 @@ static void parse_S_route_new_and_endpoints_XML(void)
                                   A_surfxml_route_dst);
 }
 
                                   A_surfxml_route_dst);
 }
 
-/**
- * \brief Set the endpoints for a route from lua
- */
-static void parse_S_route_new_and_endpoints_lua(const char *id_src, const char *id_dst)
-{
-  parse_S_route_new_and_endpoints(id_src, id_dst);
-}
-
 /**
  * \brief Set the endponints and gateways for a ASroute
  */
 /**
  * \brief Set the endponints and gateways for a ASroute
  */
@@ -264,14 +245,6 @@ static void parse_E_link_ctn_new_elem_XML(void)
   }
 }
 
   }
 }
 
-/**
- * \brief Set a new link on the actual list of link for a route or ASroute from lua
- */
-static void parse_E_link_c_ctn_new_elem_lua(const char *link_id)
-{
-  parse_E_link_ctn_new_elem(link_id);
-}
-
 /**
  * \brief Store the route by calling the set_route function of the current routing component
  */
 /**
  * \brief Store the route by calling the set_route function of the current routing component
  */
@@ -790,7 +763,7 @@ static void _finalize(routing_component_t rc)
  */
 static void finalize(void)
 {
  */
 static void finalize(void)
 {
-  /* delete recursibly all the tree */
+  /* delete recursively all the tree */
   _finalize(global_routing->root);
   /* delete last_route */
   xbt_dynar_free(&(global_routing->last_route));
   _finalize(global_routing->root);
   /* delete last_route */
   xbt_dynar_free(&(global_routing->last_route));