vmm: Remove unnecessary parentheses (beta 1.69 clippy check)

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen 2023-03-07 15:40:16 -08:00 committed by Bo Chen
parent f2be30f699
commit b71564f284

View File

@ -159,7 +159,7 @@ impl PciSegment {
// There are 32 devices on the PCI bus, let's assign them an IRQ.
for i in 0..32 {
pci_irq_slots[i] = irqs[(i % num_irqs)];
pci_irq_slots[i] = irqs[i % num_irqs];
}
Ok(())