From: suter Date: Fri, 30 May 2014 09:01:42 +0000 (+0200) Subject: remove useless function. private info is already freed by the X-Git-Tag: v3_11~15 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bb175380542cc25760b6a3b7db6df06135eb3efb remove useless function. private info is already freed by the __MSG_file_destroy function --- diff --git a/src/msg/msg_io.c b/src/msg/msg_io.c index 8bb0ba4b9f..a71770ef7f 100644 --- a/src/msg/msg_io.c +++ b/src/msg/msg_io.c @@ -203,15 +203,6 @@ msg_file_t MSG_file_open(const char* fullpath, void* data) return fd; } -/** - * \brief Frees private data of a file (internal call only) - */ -void __MSG_file_priv_free(msg_file_priv_t priv) -{ - xbt_free(&priv->simdata->smx_file); - free(priv); -} - /** \ingroup msg_file_management * \brief Close the file *