mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
misc: clippy: add redundant_else
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
committed by
Rob Bradford
parent
d2b19bb969
commit
a0b72dce22
@@ -948,12 +948,11 @@ impl PciConfiguration {
|
||||
self.pending_bar_reprogram
|
||||
);
|
||||
return self.pending_bar_reprogram.drain(..).collect();
|
||||
} else {
|
||||
info!(
|
||||
"MSE bit is disabled. No BAR reprogramming parameter is returned: {:x?}",
|
||||
self.pending_bar_reprogram
|
||||
);
|
||||
}
|
||||
info!(
|
||||
"MSE bit is disabled. No BAR reprogramming parameter is returned: {:x?}",
|
||||
self.pending_bar_reprogram
|
||||
);
|
||||
}
|
||||
|
||||
Vec::new()
|
||||
|
||||
Reference in New Issue
Block a user