diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-11 17:54:01 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-11 17:54:01 -0400 |
commit | fabe1510568acd5194f630dbbcf77a34610d7e9e (patch) | |
tree | 2ff0f101245351c8a2794e18f504c2e3455c7d94 /drivers/ide/pci/sc1200.c | |
parent | c15d5d43e6eed180e275f1db296eab5560a1bf59 (diff) |
sc1200: remove redundant warning message from sc1200_tune_chipset()
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>
Diffstat (limited to 'drivers/ide/pci/sc1200.c')
-rw-r--r-- | drivers/ide/pci/sc1200.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ide/pci/sc1200.c b/drivers/ide/pci/sc1200.c index f9f5ed906577..d46627eced91 100644 --- a/drivers/ide/pci/sc1200.c +++ b/drivers/ide/pci/sc1200.c | |||
@@ -149,10 +149,8 @@ static int sc1200_tune_chipset(ide_drive_t *drive, const u8 mode) | |||
149 | /* | 149 | /* |
150 | * Tell the drive to switch to the new mode; abort on failure. | 150 | * Tell the drive to switch to the new mode; abort on failure. |
151 | */ | 151 | */ |
152 | if (sc1200_set_xfer_mode(drive, mode)) { | 152 | if (sc1200_set_xfer_mode(drive, mode)) |
153 | printk("SC1200: set xfer mode failure\n"); | ||
154 | return 1; /* failure */ | 153 | return 1; /* failure */ |
155 | } | ||
156 | 154 | ||
157 | switch (mode) { | 155 | switch (mode) { |
158 | case XFER_PIO_4: | 156 | case XFER_PIO_4: |