Commit 267f35bb authored by Stefan Lankes's avatar Stefan Lankes Committed by Stefan Lankes
Browse files

remove obsolete statements

parent 41a44f2f
...@@ -400,7 +400,7 @@ impl<'a> Virtq<'a> { ...@@ -400,7 +400,7 @@ impl<'a> Virtq<'a> {
pub fn set_polling_mode(&mut self, value: bool) { pub fn set_polling_mode(&mut self, value: bool) {
let mut vqavail = self.avail.borrow_mut(); let mut vqavail = self.avail.borrow_mut();
if value == true { if value {
*vqavail.flags = VRING_AVAIL_F_NO_INTERRUPT; *vqavail.flags = VRING_AVAIL_F_NO_INTERRUPT;
} else { } else {
*vqavail.flags = 0; *vqavail.flags = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment