Commit d63754e4 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

purge task_type_init.

parent 92b451f6
......@@ -53,7 +53,6 @@ const char *taskID_names[task_type_count] = {"none",
"pair",
"sub_self",
"sub_pair",
"init",
"ghost",
"extra_ghost",
"drift",
......@@ -164,7 +163,6 @@ __attribute__((always_inline)) INLINE static enum task_actions task_acts_on(
}
break;
case task_type_init:
case task_type_kick1:
case task_type_kick2:
case task_type_timestep:
......@@ -283,7 +281,6 @@ void task_unlock(struct task *t) {
/* Act based on task type. */
switch (type) {
case task_type_init:
case task_type_kick1:
case task_type_kick2:
case task_type_timestep:
......@@ -359,7 +356,6 @@ int task_lock(struct task *t) {
#endif
break;
case task_type_init:
case task_type_kick1:
case task_type_kick2:
case task_type_timestep:
......
......@@ -34,6 +34,8 @@
/**
* @brief The different task types.
*
* Be sure to update the taskID_names array in tasks.c if you modify this list!
*/
enum task_types {
task_type_none = 0,
......@@ -42,7 +44,6 @@ enum task_types {
task_type_pair,
task_type_sub_self,
task_type_sub_pair,
task_type_init,
task_type_ghost,
task_type_extra_ghost,
task_type_drift,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment