/* Function: void queue_free (Queue_t *queue) Purpose : free a queue Params : queue - queue to free  */
void queue_free(Queue_t *queue)
/* Function: void queue_free (Queue_t *queue) Purpose : free a queue Params : queue - queue to free  */
void queue_free(Queue_t *queue)
{
	if (!list_empty(&queue->head))
		printk(KERN_WARNING "freeing non-empty queue %p\n", queue);
	kfree(queue->alloc);
}