Small queue_remove() simplification.