File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/vmm/src/devices/virtio Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -522,7 +522,7 @@ impl Queue {
522
522
return None ;
523
523
}
524
524
525
- self . do_pop_unchecked ( )
525
+ self . pop_unchecked ( )
526
526
}
527
527
528
528
/// Try to pop the first available descriptor chain from the avail ring.
@@ -536,15 +536,15 @@ impl Queue {
536
536
return None ;
537
537
}
538
538
539
- self . do_pop_unchecked ( )
539
+ self . pop_unchecked ( )
540
540
}
541
541
542
542
/// Pop the first available descriptor chain from the avail ring.
543
543
///
544
544
/// # Important
545
545
/// This is an internal method that ASSUMES THAT THERE ARE AVAILABLE DESCRIPTORS. Otherwise it
546
546
/// will retrieve a descriptor that contains garbage data (obsolete/empty).
547
- fn do_pop_unchecked ( & mut self ) -> Option < DescriptorChain > {
547
+ fn pop_unchecked ( & mut self ) -> Option < DescriptorChain > {
548
548
// This fence ensures all subsequent reads see the updated driver writes.
549
549
fence ( Ordering :: Acquire ) ;
550
550
You can’t perform that action at this time.
0 commit comments