Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fabe1510 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

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: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent c15d5d43
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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: