libata: kill non-sense warning message
authorTejun Heo <htejun@gmail.com>
Mon, 25 Jun 2007 12:11:13 +0000 (21:11 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 27 Jun 2007 06:44:19 +0000 (02:44 -0400)
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>
drivers/ata/libata-eh.c

index d807098..376f004 100644 (file)
@@ -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