aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-06-25 08:11:13 -0400
committerJeff Garzik <jeff@garzik.org>2007-06-27 02:44:19 -0400
commit8af500bc7f8f1a8822ff451596f818ecb6968f38 (patch)
tree249a033ea7921ab9f97aa7d1dc4931727eed403a
parent55f3952d45a439cecc36fd845a87026d04c82931 (diff)
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>
-rw-r--r--drivers/ata/libata-eh.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index d8070989a39f..376f0044f134 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -1665,8 +1665,6 @@ static int ata_eh_reset(struct ata_port *ap, int classify,
1665 1665
1666 /* did prereset() screw up? if so, fix up to avoid oopsing */ 1666 /* did prereset() screw up? if so, fix up to avoid oopsing */
1667 if (!reset) { 1667 if (!reset) {
1668 ata_port_printk(ap, KERN_ERR, "BUG: prereset() requested "
1669 "invalid reset type\n");
1670 if (softreset) 1668 if (softreset)
1671 reset = softreset; 1669 reset = softreset;
1672 else 1670 else