mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
Run cargo fmt
This commit is contained in:
parent
e237f76ca7
commit
4dba6f92cd
1 changed files with 3 additions and 5 deletions
|
|
@ -743,11 +743,9 @@ impl RawBufRing {
|
||||||
// Future: move to separate public function so other buf_ring implementations
|
// Future: move to separate public function so other buf_ring implementations
|
||||||
// can register, and unregister, the same way.
|
// can register, and unregister, the same way.
|
||||||
|
|
||||||
let res = CurrentRing::with(|ring| {
|
let res = CurrentRing::with(|ring| unsafe {
|
||||||
unsafe {
|
|
||||||
ring.submitter()
|
ring.submitter()
|
||||||
.register_buf_ring(self.ring_addr as _, self.ring_entries(), bgid)
|
.register_buf_ring(self.ring_addr as _, self.ring_entries(), bgid)
|
||||||
}
|
|
||||||
});
|
});
|
||||||
// println!("{}:{}: res {:?}", file!(), line!(), res);
|
// println!("{}:{}: res {:?}", file!(), line!(), res);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue