diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-05-07 16:52:22 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-05-07 16:52:22 +0200 |
commit | 8c9bb608e8ac6fef829a629aa46a5238fad272a4 (patch) | |
tree | 8c7bd63943cdc6c62e4a28506c4e46bf92f29ede /drivers/ntb | |
parent | virtio_pci: drop pci_msi_off() call during probe (diff) | |
download | linux-8c9bb608e8ac6fef829a629aa46a5238fad272a4.tar.xz linux-8c9bb608e8ac6fef829a629aa46a5238fad272a4.zip |
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>
Diffstat (limited to 'drivers/ntb')
-rw-r--r-- | drivers/ntb/ntb_hw.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c index cd29b1038c5e..8225cbcd6eb8 100644 --- a/drivers/ntb/ntb_hw.c +++ b/drivers/ntb/ntb_hw.c @@ -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); |