mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-12 15:42:57 +00:00
vmm: Remove unnecessary parentheses (beta 1.69 clippy check)
Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
54f66aaadc
commit
55e08edd7f
@ -159,7 +159,7 @@ impl PciSegment {
|
|||||||
|
|
||||||
// There are 32 devices on the PCI bus, let's assign them an IRQ.
|
// There are 32 devices on the PCI bus, let's assign them an IRQ.
|
||||||
for i in 0..32 {
|
for i in 0..32 {
|
||||||
pci_irq_slots[i] = irqs[(i % num_irqs)];
|
pci_irq_slots[i] = irqs[i % num_irqs];
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user