remove unused function
This function was replaced by `undo_pop`.
@@ -335,13 +335,6 @@ impl Queue {
.unwrap();
}
- /// Goes back one position in the available descriptor chain offered by the driver.
- /// Rust does not support bidirectional iterators. This is the only way to revert the effect
- /// of an iterator increment on the queue.
- pub fn go_to_previous_position(&mut self) {
- self.next_avail -= Wrapping(1);
- }
-
/// Fetch the available ring index (`virtq_avail->idx`) from guest memory.
/// This is written by the driver, to indicate the next slot that will be filled in the avail
/// ring.
