Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge stuff again. Damn, I should pull before changing stuff
[simgrid.git] / src / msg / task.c
index b0df136..877467c 100644 (file)
@@ -200,13 +200,6 @@ MSG_error_t MSG_task_cancel(m_task_t task)
     SIMIX_req_comm_cancel(task->simdata->comm);
     task->simdata->isused = 0;
   }
-  else {
-    static int warned = 0;
-    if (!warned) {
-      XBT_WARN("Cannot cancel a non-running task");
-      warned = 1;
-    }
-  }
   return MSG_OK;
 }