Commit fa815d67 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

No unusued static function

parent 173583f7
......@@ -1784,15 +1784,15 @@ void engine_count_and_link_tasks(struct engine *e) {
* @param gravity The gravity task to link.
* @param c The cell.
*/
static inline void engine_make_gravity_dependencies(struct scheduler *sched,
struct task *gravity,
struct cell *c) {
/* init --> gravity --> grav_down --> kick */
scheduler_addunlock(sched, c->super->init, gravity);
scheduler_addunlock(sched, gravity, c->super->grav_down);
scheduler_addunlock(sched, gravity, c->super->kick2);
}
/* static inline void engine_make_gravity_dependencies(struct scheduler *sched, */
/* struct task *gravity, */
/* struct cell *c) { */
/* /\* init --> gravity --> grav_down --> kick *\/ */
/* scheduler_addunlock(sched, c->super->init, gravity); */
/* scheduler_addunlock(sched, gravity, c->super->grav_down); */
/* scheduler_addunlock(sched, gravity, c->super->kick2); */
/* } */
/**
* @brief Creates the dependency network for the external gravity tasks of a
......
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