From d3956b7051805723a281fb3558c660df57d2b6af Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Mon, 8 May 2017 18:44:44 +0100 Subject: [PATCH] Dead code elimination --- src/cell.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/cell.c b/src/cell.c index f39da8e500..657cd85cea 100644 --- a/src/cell.c +++ b/src/cell.c @@ -1467,28 +1467,6 @@ int cell_unskip_tasks(struct cell *c, struct scheduler *s) { } } - /* for (struct link *l = c->grav; l != NULL; l = l->next) { */ - - /* struct task *t = l->t; */ - /* struct cell *ci = t->ci; */ - /* struct cell *cj = t->cj; */ - /* scheduler_activate(s, t); */ - - /* if (t->type == task_type_pair) { */ - /* scheduler_activate(s, ci->drift_gpart); */ - /* scheduler_activate(s, cj->drift_gpart); */ - /* scheduler_activate(s, ci->init_grav); */ - /* scheduler_activate(s, cj->init_grav); */ - /* scheduler_activate(s, ci->grav_ghost[1]); */ - /* scheduler_activate(s, cj->grav_ghost[1]); */ - /* } */ - - /* if (t->type == task_type_self) { */ - /* scheduler_activate(s, ci->drift_gpart); */ - /* scheduler_activate(s, ci->init_grav); */ - /* } */ - /* } */ - /* Unskip all the other task types. */ for (struct link *l = c->gradient; l != NULL; l = l->next) scheduler_activate(s, l->t); -- GitLab