mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-23 18:06:20 +04:00
Spacing
This commit is contained in:
parent
a26b67cf01
commit
8df4eab869
@ -735,7 +735,6 @@ pub fn pending(dev: &mut Device) {
|
|||||||
unsafe {
|
unsafe {
|
||||||
let ref queue = *dev.queue;
|
let ref queue = *dev.queue;
|
||||||
while dev.ack_used_idx != queue.used.idx {
|
while dev.ack_used_idx != queue.used.idx {
|
||||||
|
|
||||||
let ref elem = queue.used.ring
|
let ref elem = queue.used.ring
|
||||||
[dev.ack_used_idx as usize % VIRTIO_RING_SIZE];
|
[dev.ack_used_idx as usize % VIRTIO_RING_SIZE];
|
||||||
// println!("Ack {}, elem {}, len {}", dev.ack_used_idx, elem.id, elem.len);
|
// println!("Ack {}, elem {}, len {}", dev.ack_used_idx, elem.id, elem.len);
|
||||||
|
Loading…
Reference in New Issue
Block a user