Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1f4d88a authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by Bjorn Helgaas
Browse files

virtio_pci: drop pci_msi_off() call during probe



The PCI core now disables MSI and MSI-X for all devices during enumeration
regardless of CONFIG_PCI_MSI.  Remove device-specific code to disable
MSI/MSI-X.

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 1851617c
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -501,9 +501,6 @@ static int virtio_pci_probe(struct pci_dev *pci_dev,
	INIT_LIST_HEAD(&vp_dev->virtqueues);
	spin_lock_init(&vp_dev->lock);

	/* Disable MSI/MSIX to bring device to a known good state. */
	pci_msi_off(pci_dev);

	/* enable the device */
	rc = pci_enable_device(pci_dev);
	if (rc)