Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove redundant test.
[simgrid.git] / src / smpi / smpi_global.c
index b7880c8..d17f4bd 100644 (file)
@@ -480,9 +480,7 @@ void smpi_global_destroy(void)
   xbt_free(process_data);
   process_data = NULL;
 
-  if(index_to_process_data){
-      xbt_free(index_to_process_data);
-  }
+  xbt_free(index_to_process_data);
   if(smpi_privatize_global_variables)
     smpi_destroy_global_memory_segments();
   smpi_free_static();