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 | 1b166ae7bb9610cdd3c4c66b960aa04004054e41 (patch) | |
tree | f8fc5d99d9ad0bf3f4dcb831b6a130d140bc4fa3 /drivers/ide/trm290.c | |
parent | 49727e3d20ba10921572e35bc99b2c2e1b8c1dba (diff) |
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/trm290.c')
-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 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) | |||
277 | if (reg & 0x10) | 277 | if (reg & 0x10) |
278 | /* legacy mode */ | 278 | /* legacy mode */ |
279 | hwif->irq = hwif->channel ? 15 : 14; | 279 | hwif->irq = hwif->channel ? 15 : 14; |
280 | else if (!hwif->irq && hwif->mate && hwif->mate->irq) | ||
281 | /* sharing IRQ with mate */ | ||
282 | hwif->irq = hwif->mate->irq; | ||
283 | 280 | ||
284 | #if 1 | 281 | #if 1 |
285 | { | 282 | { |