vm-virtio: Fix formatting

With the 1.38.0 toolchain rustfmt is even stricter about formatting now

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2019-09-27 14:46:28 +01:00 committed by Sebastien Boeuf
parent 8188074300
commit 2ae3919181
4 changed files with 4 additions and 4 deletions

View File

@ -486,7 +486,7 @@ impl VirtioDevice for Console {
if let Err(e) = worker_result {
error!("failed to spawn virtio_console worker: {}", e);
return Err(ActivateError::BadActivate);;
return Err(ActivateError::BadActivate);
}
return Ok(());

View File

@ -423,7 +423,7 @@ impl VirtioDevice for Pmem {
if let Err(e) = worker_result {
error!("failed to spawn virtio_pmem worker: {}", e);
return Err(ActivateError::BadActivate);;
return Err(ActivateError::BadActivate);
}
return Ok(());

View File

@ -277,7 +277,7 @@ impl VirtioDevice for Rng {
if let Err(e) = worker_result {
error!("failed to spawn virtio_rng worker: {}", e);
return Err(ActivateError::BadActivate);;
return Err(ActivateError::BadActivate);
}
return Ok(());

View File

@ -496,7 +496,7 @@ where
if let Err(e) = worker_result {
error!("failed to spawn virtio_vsock worker: {}", e);
return Err(ActivateError::BadActivate);;
return Err(ActivateError::BadActivate);
}
Ok(())