Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove a useless call
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 8 May 2016 17:19:19 +0000 (19:19 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 8 May 2016 17:19:19 +0000 (19:19 +0200)
src/simix/smx_network.cpp
src/simix/smx_network_private.h

index 82e37ad..ff2dd37 100644 (file)
@@ -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
index 965bf77..a215ff2 100644 (file)
@@ -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);