diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 22:22:49 (GMT) |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 22:22:49 (GMT) |
commit | 1b166ae7bb9610cdd3c4c66b960aa04004054e41 (patch) | |
tree | f8fc5d99d9ad0bf3f4dcb831b6a130d140bc4fa3 /drivers/ide | |
parent | 49727e3d20ba10921572e35bc99b2c2e1b8c1dba (diff) | |
download | linux-fsl-qoriq-1b166ae7bb9610cdd3c4c66b960aa04004054e41.tar.xz |
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 <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/trm290.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ide/trm290.c b/drivers/ide/trm290.c index b6a1285..1c09e54 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 { |