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

Commit 8af500bc authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik
Browse files

libata: kill non-sense warning message



prereset() is now allowed to set flag for unsupported reset method.
EH layer is responsible for selecting the fallback.  Remove non-sense
warning message.

Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 55f3952d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1665,8 +1665,6 @@ static int ata_eh_reset(struct ata_port *ap, int classify,

	/* did prereset() screw up?  if so, fix up to avoid oopsing */
	if (!reset) {
		ata_port_printk(ap, KERN_ERR, "BUG: prereset() requested "
				"invalid reset type\n");
		if (softreset)
			reset = softreset;
		else