From 7076d70e9205a598bb96f6afca16d5d0456aeeb1 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 8 May 2016 19:19:19 +0200 Subject: [PATCH] remove a useless call --- src/simix/smx_network.cpp | 5 ----- src/simix/smx_network_private.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/simix/smx_network.cpp b/src/simix/smx_network.cpp index 82e37ad25d..ff2dd372bc 100644 --- a/src/simix/smx_network.cpp +++ b/src/simix/smx_network.cpp @@ -843,11 +843,6 @@ double SIMIX_comm_get_remains(smx_synchro_t synchro) return remains; } -e_smx_state_t SIMIX_comm_get_state(smx_synchro_t synchro) -{ - return synchro->state; -} - /** * \brief Return the user data associated to the sender of the communication * \param synchro The communication diff --git a/src/simix/smx_network_private.h b/src/simix/smx_network_private.h index 965bf7722a..a215ff2e01 100644 --- a/src/simix/smx_network_private.h +++ b/src/simix/smx_network_private.h @@ -40,7 +40,6 @@ XBT_PRIVATE smx_synchro_t SIMIX_comm_iprobe(smx_process_t dst_proc, smx_mailbox_ int tag, int (*match_fun)(void *, void *, smx_synchro_t), void *data); XBT_PRIVATE void SIMIX_post_comm(smx_synchro_t synchro); XBT_PRIVATE double SIMIX_comm_get_remains(smx_synchro_t synchro); -XBT_PRIVATE e_smx_state_t SIMIX_comm_get_state(smx_synchro_t synchro); XBT_PRIVATE smx_process_t SIMIX_comm_get_src_proc(smx_synchro_t synchro); XBT_PRIVATE smx_process_t SIMIX_comm_get_dst_proc(smx_synchro_t synchro); -- 2.20.1