mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-21 20:15:21 +00:00
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:
parent
8188074300
commit
2ae3919181
@ -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(());
|
||||
|
@ -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(());
|
||||
|
@ -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(());
|
||||
|
@ -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(())
|
||||
|
Loading…
x
Reference in New Issue
Block a user