aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-15 15:21:53 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-15 15:21:53 -0400
commit6bd3b0bfb8fccdcce3b8524d6761e0a3ab6e23f0 (patch)
tree81ec1ab90db542a102a7384aecf00ea5fde8fd68 /drivers/ide
parent1e049a8ea190b7cc22320c7797b36b2c6128c9c5 (diff)
ide-tape: remove superfluous warning message from idetape_issue_pc()
ide_dma_off() prints info about DMA being disabled. Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/ide-tape.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
index 92fadd5a5f8a..5aa7e2dbaa0c 100644
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@ -1038,8 +1038,6 @@ static ide_startstop_t idetape_issue_pc(ide_drive_t *drive,
1038 1038
1039 if (pc->flags & PC_FLAG_DMA_ERROR) { 1039 if (pc->flags & PC_FLAG_DMA_ERROR) {
1040 pc->flags &= ~PC_FLAG_DMA_ERROR; 1040 pc->flags &= ~PC_FLAG_DMA_ERROR;
1041 printk(KERN_WARNING "ide-tape: DMA disabled, "
1042 "reverting to PIO\n");
1043 ide_dma_off(drive); 1041 ide_dma_off(drive);
1044 } 1042 }
1045 if ((pc->flags & PC_FLAG_DMA_RECOMMENDED) && drive->using_dma) 1043 if ((pc->flags & PC_FLAG_DMA_RECOMMENDED) && drive->using_dma)