diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 18:22:49 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 18:22:49 -0400 |
commit | 49727e3d20ba10921572e35bc99b2c2e1b8c1dba (patch) | |
tree | 014e406d5dc94e61f85b99bf06ff5534230282c5 /drivers/ide/ns87415.c | |
parent | 973d9e743979d4d3f06d8071c22187b2bdc0ef24 (diff) |
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 <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ns87415.c')
-rw-r--r-- | drivers/ide/ns87415.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ns87415.c b/drivers/ide/ns87415.c index 56042a36d635..ea48a3ee8063 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) | |||
287 | 287 | ||
288 | if (!using_inta) | 288 | if (!using_inta) |
289 | hwif->irq = pci_get_legacy_ide_irq(dev, hwif->channel); | 289 | hwif->irq = pci_get_legacy_ide_irq(dev, hwif->channel); |
290 | else if (!hwif->irq && hwif->mate && hwif->mate->irq) | ||
291 | hwif->irq = hwif->mate->irq; /* share IRQ with mate */ | ||
292 | 290 | ||
293 | if (!hwif->dma_base) | 291 | if (!hwif->dma_base) |
294 | return; | 292 | return; |