From: Martin Quinson Date: Tue, 8 Nov 2011 16:04:04 +0000 (+0100) Subject: kill dead code X-Git-Tag: exp_20120216~416 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/083888fb2ab060b9b7311778db9638d3f1dca460?ds=sidebyside kill dead code --- diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index 76ac3e8490..b5320db8f3 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -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 */ @@ -187,14 +176,6 @@ static void parse_S_route_new_and_endpoints_XML(void) 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 */ @@ -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 */ @@ -790,7 +763,7 @@ static void _finalize(routing_component_t rc) */ 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));