X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/680d3333804979cca617afe9bef76ab1b1eb9f0e..638d55dcb8d944f7c74127725f1acb7b8e1449de:/src/simix/smx_io.c diff --git a/src/simix/smx_io.c b/src/simix/smx_io.c index be6a6539a8..118b800db7 100644 --- a/src/simix/smx_io.c +++ b/src/simix/smx_io.c @@ -70,9 +70,7 @@ smx_synchro_t SIMIX_file_read(smx_file_t fd, sg_size_t size, smx_host_t host) synchro = xbt_mallocator_get(simix_global->synchro_mallocator); synchro->type = SIMIX_SYNC_IO; synchro->name = NULL; -#ifdef HAVE_TRACING synchro->category = NULL; -#endif synchro->io.host = host; synchro->io.surf_io = surf_workstation_read(host, fd->surf_file, size); @@ -104,9 +102,7 @@ smx_synchro_t SIMIX_file_write(smx_file_t fd, sg_size_t size, smx_host_t host) synchro = xbt_mallocator_get(simix_global->synchro_mallocator); synchro->type = SIMIX_SYNC_IO; synchro->name = NULL; -#ifdef HAVE_TRACING synchro->category = NULL; -#endif synchro->io.host = host; synchro->io.surf_io = surf_workstation_write(host, fd->surf_file, size); @@ -138,9 +134,7 @@ smx_synchro_t SIMIX_file_open(const char* fullpath, smx_host_t host) synchro = xbt_mallocator_get(simix_global->synchro_mallocator); synchro->type = SIMIX_SYNC_IO; synchro->name = NULL; -#ifdef HAVE_TRACING synchro->category = NULL; -#endif synchro->io.host = host; synchro->io.surf_io = surf_workstation_open(host, fullpath); @@ -172,9 +166,7 @@ smx_synchro_t SIMIX_file_close(smx_file_t fd, smx_host_t host) synchro = xbt_mallocator_get(simix_global->synchro_mallocator); synchro->type = SIMIX_SYNC_IO; synchro->name = NULL; -#ifdef HAVE_TRACING synchro->category = NULL; -#endif synchro->io.host = host; synchro->io.surf_io = surf_workstation_close(host, fd->surf_file);