diff options
Diffstat (limited to 'drivers/ide/pci/trm290.c')
-rw-r--r-- | drivers/ide/pci/trm290.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/pci/trm290.c b/drivers/ide/pci/trm290.c index c26c8ca90dd4..fe80295974e1 100644 --- a/drivers/ide/pci/trm290.c +++ b/drivers/ide/pci/trm290.c | |||
@@ -183,8 +183,7 @@ static void trm290_ide_dma_exec_cmd(ide_drive_t *drive, u8 command) | |||
183 | { | 183 | { |
184 | ide_hwif_t *hwif = HWIF(drive); | 184 | ide_hwif_t *hwif = HWIF(drive); |
185 | 185 | ||
186 | if (HWGROUP(drive)->handler != NULL) /* paranoia check */ | 186 | BUG_ON(HWGROUP(drive)->handler != NULL); /* paranoia check */ |
187 | BUG(); | ||
188 | ide_set_handler(drive, &ide_dma_intr, WAIT_CMD, NULL); | 187 | ide_set_handler(drive, &ide_dma_intr, WAIT_CMD, NULL); |
189 | /* issue cmd to drive */ | 188 | /* issue cmd to drive */ |
190 | hwif->OUTB(command, IDE_COMMAND_REG); | 189 | hwif->OUTB(command, IDE_COMMAND_REG); |