diff --git a/src/queue.c b/src/queue.c index ab414bba72b71edf76cd2c0a316ad52d6fee9044..9883d77e66421eda6093331e0c9a8f6ac0155ded 100644 --- a/src/queue.c +++ b/src/queue.c @@ -43,7 +43,6 @@ * * @param q The #queue, assumed to be locked. */ - void queue_get_incoming(struct queue *q) { int *tid = q->tid; @@ -98,7 +97,6 @@ void queue_get_incoming(struct queue *q) { * @param q The #queue. * @param t The #task. */ - void queue_insert(struct queue *q, struct task *t) { /* Get an index in the DEQ. */ const int ind = atomic_inc(&q->last_incoming) % queue_incoming_size; @@ -130,7 +128,6 @@ void queue_insert(struct queue *q, struct task *t) { * @param q The #queue. * @param tasks List of tasks to which the queue indices refer to. */ - void queue_init(struct queue *q, struct task *tasks) { /* Allocate the task list if needed. */ @@ -166,7 +163,6 @@ void queue_init(struct queue *q, struct task *tasks) { * @param prev The previous #task extracted from this #queue. * @param blocking Block until access to the queue is granted. */ - struct task *queue_gettask(struct queue *q, const struct task *prev, int blocking) {