From: Bartlomiej Zolnierkiewicz Date: Tue, 24 Mar 2009 22:22:49 +0000 (+0100) Subject: ns87415: small ->init_hwif cleanup X-Git-Tag: v2.6.30-rc1~672^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49727e3d20ba10921572e35bc99b2c2e1b8c1dba;p=platform%2Fkernel%2Flinux-exynos.git ns87415: small ->init_hwif cleanup 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 --- diff --git a/drivers/ide/ns87415.c b/drivers/ide/ns87415.c index 56042a3..ea48a3e 100644 --- a/drivers/ide/ns87415.c +++ b/drivers/ide/ns87415.c @@ -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;