ntb: Drop pci_msi_off() call during probe
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 7 May 2015 14:52:22 +0000 (09:52 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 7 May 2015 14:52:22 +0000 (09:52 -0500)
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>
drivers/ntb/ntb_hw.c

index cd29b10..8225cbc 100644 (file)
@@ -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);