From: Frederic Suter Date: Thu, 30 Mar 2017 11:19:56 +0000 (+0200) Subject: remove dead code X-Git-Tag: v3.16~411 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7f72f6e8819f29f1a4a6b6aa91161a12aa9724c4 remove dead code --- diff --git a/src/simix/smx_io.cpp b/src/simix/smx_io.cpp index fda05d8e5f..0dd509593d 100644 --- a/src/simix/smx_io.cpp +++ b/src/simix/smx_io.cpp @@ -212,26 +212,6 @@ int SIMIX_file_move(smx_actor_t process, smx_file_t file, const char* fullpath) return surf_host_file_move(host, file->surf_file, fullpath); } -sg_size_t simcall_HANDLER_storage_get_free_size(smx_simcall_t simcall, smx_storage_t storage) -{ - return SIMIX_storage_get_free_size(simcall->issuer, storage); -} - -sg_size_t SIMIX_storage_get_free_size(smx_actor_t process, smx_storage_t storage) -{ - return surf_storage_get_free_size(storage); -} - -sg_size_t simcall_HANDLER_storage_get_used_size(smx_simcall_t simcall, smx_storage_t storage) -{ - return SIMIX_storage_get_used_size(simcall->issuer, storage); -} - -sg_size_t SIMIX_storage_get_used_size(smx_actor_t process, smx_storage_t storage) -{ - return surf_storage_get_used_size(storage); -} - xbt_dict_t SIMIX_storage_get_properties(smx_storage_t storage){ return surf_storage_get_properties(storage); } diff --git a/src/simix/smx_io_private.h b/src/simix/smx_io_private.h index b0079cd244..114f9c01c6 100644 --- a/src/simix/smx_io_private.h +++ b/src/simix/smx_io_private.h @@ -34,9 +34,6 @@ XBT_PRIVATE xbt_dynar_t SIMIX_file_get_info(smx_actor_t process, smx_file_t fd); XBT_PRIVATE int SIMIX_file_seek(smx_actor_t process, smx_file_t fd, sg_offset_t offset, int origin); XBT_PRIVATE int SIMIX_file_move(smx_actor_t process, smx_file_t fd, const char* fullpath); -XBT_PRIVATE sg_size_t SIMIX_storage_get_free_size(smx_actor_t process, smx_storage_t storage); -XBT_PRIVATE sg_size_t SIMIX_storage_get_used_size(smx_actor_t process, smx_storage_t storage); - XBT_PRIVATE xbt_dict_t SIMIX_storage_get_properties(smx_storage_t storage); XBT_PRIVATE void SIMIX_io_destroy(smx_activity_t synchro);