提交 fabe1510 编写于 作者: B Bartlomiej Zolnierkiewicz

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: NSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
上级 c15d5d43
...@@ -149,10 +149,8 @@ static int sc1200_tune_chipset(ide_drive_t *drive, const u8 mode) ...@@ -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. * Tell the drive to switch to the new mode; abort on failure.
*/ */
if (sc1200_set_xfer_mode(drive, mode)) { if (sc1200_set_xfer_mode(drive, mode))
printk("SC1200: set xfer mode failure\n");
return 1; /* failure */ return 1; /* failure */
}
switch (mode) { switch (mode) {
case XFER_PIO_4: case XFER_PIO_4:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册