Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Huge set of modifications to restore more uniform APIs when dealing with src and...
[simgrid.git] / src / surf / network.c
index 88232f08be66b1f677d1aedb18f282f3eeb87c0c..cb676e7a1dd85f5a2a5c54a8f11f80d30d0e4fdc 100644 (file)
@@ -484,7 +484,7 @@ static void net_update_resource_state(void *id,
 
 
 static surf_action_t net_communicate(const char *src_name, const char *dst_name,
-                                 int src, int dst, double size, double rate)
+                                 double size, double rate)
 {
   unsigned int i;
   link_CM02_t link;
@@ -596,10 +596,6 @@ static surf_action_t net_communicate(const char *src_name, const char *dst_name,
   }  /* LARGE PLATFORMS HACK:
      expand also with src->link and dst->link */
 
-  /* saving the src and dst of this communication */
-  action->src = src;
-  action->dst = dst;
-
   XBT_OUT;
 
   return (surf_action_t) action;