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: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
c1f4d88abd
commit
8c9bb608e8
|
@ -1313,8 +1313,6 @@ static int ntb_setup_intx(struct ntb_device *ndev)
|
||||||
struct pci_dev *pdev = ndev->pdev;
|
struct pci_dev *pdev = ndev->pdev;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
pci_msi_off(pdev);
|
|
||||||
|
|
||||||
/* Verify intx is enabled */
|
/* Verify intx is enabled */
|
||||||
pci_intx(pdev, 1);
|
pci_intx(pdev, 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue