Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill dead code. Simgrid internals are Pure Magic
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 22 Jan 2016 15:13:12 +0000 (16:13 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 22 Jan 2016 15:13:12 +0000 (16:13 +0100)
src/surf/surf_interface.cpp

index bc4da64..302cd30 100644 (file)
@@ -30,7 +30,6 @@ xbt_dynar_t all_existing_models = NULL; /* to destroy models correctly */
 xbt_dynar_t model_list_invoke = NULL;  /* for invoking callbacks */
 
 tmgr_fes_t history = NULL;
-lmm_system_t maxmin_system = NULL;
 xbt_dynar_t surf_path = NULL;
 xbt_dynar_t host_that_restart = NULL;
 xbt_dict_t watched_hosts_lib;
@@ -369,10 +368,6 @@ void surf_exit(void)
 
   simgrid::surf::surfExitCallbacks();
 
-  if (maxmin_system) {
-    lmm_system_free(maxmin_system);
-    maxmin_system = NULL;
-  }
   if (history) {
     tmgr_history_free(history);
     history = NULL;