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

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

ntb: 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 c1f4d88a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1313,8 +1313,6 @@ static int ntb_setup_intx(struct ntb_device *ndev)
	struct pci_dev *pdev = ndev->pdev;
	int rc;

	pci_msi_off(pdev);

	/* Verify intx is enabled */
	pci_intx(pdev, 1);