From: Martin Quinson Date: Wed, 16 Nov 2016 22:36:21 +0000 (+0100) Subject: kill 2 unused fields in MSG_Global o_O X-Git-Tag: v3_14~187 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ca8f76da2b1e18b55a714168f71bdeae99386425 kill 2 unused fields in MSG_Global o_O --- diff --git a/src/msg/msg_global.cpp b/src/msg/msg_global.cpp index 9a953007f0..dc72b646be 100644 --- a/src/msg/msg_global.cpp +++ b/src/msg/msg_global.cpp @@ -122,11 +122,7 @@ int MSG_process_killall(int reset_PIDs) { simcall_process_killall(reset_PIDs); - if (reset_PIDs > 0) - msg_global->session++; - return 0; - } static void MSG_exit() { diff --git a/src/msg/msg_private.h b/src/msg/msg_private.h index 014d32f858..d0c49706c4 100644 --- a/src/msg/msg_private.h +++ b/src/msg/msg_private.h @@ -120,9 +120,7 @@ XBT_PUBLIC_DATA(const char*) MSG_vm_get_name(msg_vm_t vm); /************************** Global variables ********************************/ typedef struct MSG_Global { - xbt_fifo_t host; - int session; - int debug_multiple_use; + int debug_multiple_use; /* whether we want an error message when reusing the same Task for 2 things */ unsigned long int sent_msg; /* Total amount of messages sent during the simulation */ void (*task_copy_callback) (msg_task_t task, msg_process_t src, msg_process_t dst); void_f_pvoid_t process_data_cleanup;