MSI: Consolidate MSI-X irq freeing code
A message that is not in the archive (sent off-list or not yet received): [email protected]
Eric W. Biederman
Acked-byQuoted 5 lines · Michael Ellerman
For the MSI-X case we do exactly the same logic in
pci_disable_msix()andmsi_remove_pci_irq_vectors(), so consolidate them.
msi_remove_pci_irq_vectors()wasn't settingdev->first_msi_irqto 0, but I think it should have been, so the consolidated version does.