Commit 91f533e4 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

no need to clear the task buffer, all these values are overwritten in scheduler_addtask anyway.

parent 52ccd88c
......@@ -853,9 +853,6 @@ void scheduler_reset(struct scheduler *s, int size) {
error("Failed to allocate task lists.");
}
/* Reset the task data. */
bzero(s->tasks, sizeof(struct task) * size);
/* Reset the counters. */
s->size = size;
s->nr_tasks = 0;
......
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