Skip to content

Commit

Permalink
ntb: Drop pci_msi_off() call during probe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael S. Tsirkin authored and Bjorn Helgaas committed May 7, 2015
1 parent c1f4d88 commit 8c9bb60
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/ntb/ntb_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8c9bb60

Please sign in to comment.