mic: drop pci_msi_off call on probe
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 29 Mar 2015 15:04:27 +0000 (17:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 14:15:30 +0000 (16:15 +0200)
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>
drivers/misc/mic/host/mic_intr.c

index d686f2846ac7ba7ba8b0508d56c76ac0f950b3a8..b4ca6c884d198d68dcee378083db37decfa907e8 100644 (file)
@@ -363,8 +363,6 @@ static int mic_setup_intx(struct mic_device *mdev, struct pci_dev *pdev)
 {
        int rc;
 
-       pci_msi_off(pdev);
-
        /* Enable intx */
        pci_intx(pdev, 1);
        rc = mic_setup_callbacks(mdev);