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: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
55f3952d45
commit
8af500bc7f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue