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

Remove unnecessary duplicate check for drift in runner_do_sort()

parent 2c1293cc
No related branches found
No related tags found
1 merge request!327Rebuild criteria
...@@ -324,9 +324,6 @@ void runner_do_sort(struct runner *r, struct cell *c, int flags, int clock) { ...@@ -324,9 +324,6 @@ void runner_do_sort(struct runner *r, struct cell *c, int flags, int clock) {
} }
if (flags == 0) return; if (flags == 0) return;
/* Sorting an un-drifted cell? */
if (!cell_is_drifted(c, r->e)) error("Sorting undrifted cell.");
/* start by allocating the entry arrays. */ /* start by allocating the entry arrays. */
if (c->sort == NULL || c->sortsize < count) { if (c->sort == NULL || c->sortsize < count) {
if (c->sort != NULL) free(c->sort); if (c->sort != NULL) free(c->sort);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment