diff options
Diffstat (limited to 'drivers/net/atlx/atl2.c')
-rw-r--r-- | drivers/net/atlx/atl2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/atlx/atl2.c b/drivers/net/atlx/atl2.c index 0326a84503e3..bc394491b63b 100644 --- a/drivers/net/atlx/atl2.c +++ b/drivers/net/atlx/atl2.c | |||
@@ -644,7 +644,6 @@ static int atl2_request_irq(struct atl2_adapter *adapter) | |||
644 | int flags, err = 0; | 644 | int flags, err = 0; |
645 | 645 | ||
646 | flags = IRQF_SHARED; | 646 | flags = IRQF_SHARED; |
647 | #ifdef CONFIG_PCI_MSI | ||
648 | adapter->have_msi = true; | 647 | adapter->have_msi = true; |
649 | err = pci_enable_msi(adapter->pdev); | 648 | err = pci_enable_msi(adapter->pdev); |
650 | if (err) | 649 | if (err) |
@@ -652,7 +651,6 @@ static int atl2_request_irq(struct atl2_adapter *adapter) | |||
652 | 651 | ||
653 | if (adapter->have_msi) | 652 | if (adapter->have_msi) |
654 | flags &= ~IRQF_SHARED; | 653 | flags &= ~IRQF_SHARED; |
655 | #endif | ||
656 | 654 | ||
657 | return request_irq(adapter->pdev->irq, &atl2_intr, flags, netdev->name, | 655 | return request_irq(adapter->pdev->irq, &atl2_intr, flags, netdev->name, |
658 | netdev); | 656 | netdev); |