ns87415: small ->init_hwif cleanup
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:49 +0000 (23:22 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:49 +0000 (23:22 +0100)
Core IDE PCI code takes care of assigning hwif->irq for both ports.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ns87415.c

index 56042a36d635bd8f57d400d86fe4fe424eb5a311..ea48a3ee8063960b3a2b204b99a8d9d639a9541f 100644 (file)
@@ -287,8 +287,6 @@ static void __devinit init_hwif_ns87415 (ide_hwif_t *hwif)
 
        if (!using_inta)
                hwif->irq = pci_get_legacy_ide_irq(dev, hwif->channel);
-       else if (!hwif->irq && hwif->mate && hwif->mate->irq)
-               hwif->irq = hwif->mate->irq;    /* share IRQ with mate */
 
        if (!hwif->dma_base)
                return;