Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49727e3d authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

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: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 973d9e74
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;