Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill trivial MSG_task_has_data() and use get_data()!=NULL instead
[simgrid.git] / src / msg / task.c
index 05a1a3e..e3bf5c1 100644 (file)
@@ -279,16 +279,3 @@ void MSG_task_set_priority(m_task_t task, double priority)
 }
 
 
-/** \ingroup m_task_management
- * \brief Sets the user data of a #m_task_t.
- *
- * This function allows to test if a task contains a not_null data
- * return 1 (if true)
- */
-int MSG_task_has_data(m_task_t task)
-{
-
- return (task->data != NULL);
-
-}
-