From: Bartlomiej Zolnierkiewicz Date: Tue, 24 Mar 2009 22:22:49 +0000 (+0100) Subject: trm290: small ->init_hwif cleanup X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1b166ae7bb9610cdd3c4c66b960aa04004054e41;p=openwrt%2Fstaging%2Fblogic.git trm290: 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/trm290.c b/drivers/ide/trm290.c index b6a1285a4021..1c09e549c423 100644 --- a/drivers/ide/trm290.c +++ b/drivers/ide/trm290.c @@ -277,9 +277,6 @@ static void __devinit init_hwif_trm290(ide_hwif_t *hwif) if (reg & 0x10) /* legacy mode */ hwif->irq = hwif->channel ? 15 : 14; - else if (!hwif->irq && hwif->mate && hwif->mate->irq) - /* sharing IRQ with mate */ - hwif->irq = hwif->mate->irq; #if 1 {