mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
misc: clippy: add semicolon_if_nothing_returned
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
ea4f07d3bf
commit
b4c62bf159
@@ -119,12 +119,12 @@ impl SystemAllocator {
|
||||
/// Free an IO address range.
|
||||
/// We can only free a range if it matches exactly an already allocated range.
|
||||
pub fn free_io_addresses(&mut self, address: GuestAddress, size: GuestUsize) {
|
||||
self.io_address_space.free(address, size)
|
||||
self.io_address_space.free(address, size);
|
||||
}
|
||||
|
||||
/// Free a platform MMIO address range.
|
||||
/// We can only free a range if it matches exactly an already allocated range.
|
||||
pub fn free_platform_mmio_addresses(&mut self, address: GuestAddress, size: GuestUsize) {
|
||||
self.platform_mmio_address_space.free(address, size)
|
||||
self.platform_mmio_address_space.free(address, size);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user