sc1200: remove redundant warning message from sc1200_tune_chipset()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 11 Oct 2007 21:54:01 +0000 (23:54 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 11 Oct 2007 21:54:01 +0000 (23:54 +0200)
ide_config_drive_speed() called by sc1200_set_xfer_mode() already gives
a meaningful warning message in case of failure.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/sc1200.c

index f9f5ed9065773b1095bf60d2b0e817f112121893..d46627eced91598c82009a3362b981b0924d4f5a 100644 (file)
@@ -149,10 +149,8 @@ static int sc1200_tune_chipset(ide_drive_t *drive, const u8 mode)
        /*
         * Tell the drive to switch to the new mode; abort on failure.
         */
-       if (sc1200_set_xfer_mode(drive, mode)) {
-               printk("SC1200: set xfer mode failure\n");
+       if (sc1200_set_xfer_mode(drive, mode))
                return 1;       /* failure */
-       }
 
        switch (mode) {
        case XFER_PIO_4:
This page took 0.025241 seconds and 5 git commands to generate.