aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-03-29 11:04:27 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-04-03 10:15:30 -0400
commitbe29bc2eaa5360537df422a237c889dc493492f4 (patch)
treec50c34781063bc1bafe718863c04820502e40db2
parent149cb911ae242242e5aae698710bf59e804a96e6 (diff)
mic: drop pci_msi_off call on probe
pci core now disables msi on probe automatically, drop this from device-specific code. Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: linux-pci@vger.kernel.org Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/misc/mic/host/mic_intr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/mic/host/mic_intr.c b/drivers/misc/mic/host/mic_intr.c
index d686f2846ac7..b4ca6c884d19 100644
--- a/drivers/misc/mic/host/mic_intr.c
+++ b/drivers/misc/mic/host/mic_intr.c
@@ -363,8 +363,6 @@ static int mic_setup_intx(struct mic_device *mdev, struct pci_dev *pdev)
363{ 363{
364 int rc; 364 int rc;
365 365
366 pci_msi_off(pdev);
367
368 /* Enable intx */ 366 /* Enable intx */
369 pci_intx(pdev, 1); 367 pci_intx(pdev, 1);
370 rc = mic_setup_callbacks(mdev); 368 rc = mic_setup_callbacks(mdev);