Skip to content
Snippets Groups Projects
Commit fa815d67 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

No unusued static function

parent 173583f7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment