]> err.no Git - linux-2.6/commitdiff
ide-tape: remove superfluous warning message from idetape_issue_pc()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:53 +0000 (21:21 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:53 +0000 (21:21 +0200)
ide_dma_off() prints info about DMA being disabled.

Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-tape.c

index 92fadd5a5f8a54decad895885c25b605be1b0ebe..5aa7e2dbaa0cf2938974f5c20c4d973997ec2909 100644 (file)
@@ -1038,8 +1038,6 @@ static ide_startstop_t idetape_issue_pc(ide_drive_t *drive,
 
        if (pc->flags & PC_FLAG_DMA_ERROR) {
                pc->flags &= ~PC_FLAG_DMA_ERROR;
-               printk(KERN_WARNING "ide-tape: DMA disabled, "
-                               "reverting to PIO\n");
                ide_dma_off(drive);
        }
        if ((pc->flags & PC_FLAG_DMA_RECOMMENDED) && drive->using_dma)