Skip to content

Commit

Permalink
ns87415: small ->init_hwif cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 24, 2009
1 parent 973d9e7 commit 49727e3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/ide/ns87415.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 49727e3

Please sign in to comment.