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
@@ -227,7 +227,7 @@ impl Aml for PciDevSlot {
|
||||
),
|
||||
],
|
||||
)
|
||||
.to_aml_bytes(sink)
|
||||
.to_aml_bytes(sink);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -281,7 +281,7 @@ impl Aml for PciDevSlotMethods {
|
||||
&aml::Release::new("\\_SB_.PHPR.BLCK".into()),
|
||||
],
|
||||
)
|
||||
.to_aml_bytes(sink)
|
||||
.to_aml_bytes(sink);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -344,7 +344,7 @@ impl Aml for PciDsmMethod {
|
||||
&aml::Return::new(&aml::BufferData::new(vec![0])),
|
||||
],
|
||||
)
|
||||
.to_aml_bytes(sink)
|
||||
.to_aml_bytes(sink);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -470,6 +470,6 @@ impl Aml for PciSegment {
|
||||
format!("_SB_.PC{:02X}", self.id).as_str().into(),
|
||||
pci_dsdt_inner_data,
|
||||
)
|
||||
.to_aml_bytes(sink)
|
||||
.to_aml_bytes(sink);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user