Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] removing obsolete code (host and link declaration is in instr_routing.c)
[simgrid.git] / src / surf / network_gtnets.c
index a33cb21..8d6c950 100644 (file)
@@ -48,10 +48,6 @@ static void link_new(char *name, double bw, double lat, xbt_dict_t props)
 
   xbt_dict_set(surf_network_model->resource_set, name, gtnets_link,
                surf_resource_free);
-
-#ifdef HAVE_TRACING
-  TRACE_surf_link_declaration(gtnets_link, name, bw, lat);
-#endif
 }
 
 static void route_new(int src_id, int dst_id, xbt_dynar_t links,
@@ -424,7 +420,7 @@ static void surf_network_model_init_internal(void)
     xbt_assert0(0, "Impossible to initialize GTNetS interface");
   }
 
-  routing_model_create(sizeof(network_link_GTNETS_t), NULL);
+  routing_model_create(sizeof(network_link_GTNETS_t), NULL, NULL);
 }
 
 #ifdef HAVE_LATENCY_BOUND_TRACKING