X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b197602d9f391f0020949e793fd191bb722af74a..f8890e934eccb4cc07766065689b885068d6bc65:/src/surf/host_ptask_L07.cpp diff --git a/src/surf/host_ptask_L07.cpp b/src/surf/host_ptask_L07.cpp index 0fc243c5a0..2f573c0929 100644 --- a/src/surf/host_ptask_L07.cpp +++ b/src/surf/host_ptask_L07.cpp @@ -272,12 +272,7 @@ Action *HostL07Model::executeParallelTask(int host_nb, Host *HostL07Model::createHost(const char *name,RoutingEdge *netElm, Cpu *cpu) { - HostL07 *host = new HostL07(this, name, NULL, netElm, cpu); - - surf_callback_emit(hostCreatedCallbacks, host); - simgrid::Host::by_name_or_create(name)->set_facet(host); - - return host; + return new HostL07(this, name, NULL, netElm, cpu); } Action *NetworkL07Model::communicate(RoutingEdge *src, RoutingEdge *dst,