]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
libata: kill ata_chk_status() call from ata_dev_configure()
authorTejun Heo <htejun@gmail.com>
Tue, 25 Mar 2008 13:16:43 +0000 (22:16 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 19:44:18 +0000 (15:44 -0400)
ata_dev_configure() isn't tied to any controller interface except for
the probe debug message printing at the end of the function.  Kill the
message.

This is to help separating out SFF support from core layer.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c

index 34c068f18350a6defdfeb2eaf7dc5cccdd14e608..54f85508bc6ed122e2572034dd3abb777646f30e 100644 (file)
@@ -2407,9 +2407,6 @@ int ata_dev_configure(struct ata_device *dev)
                }
        }
 
-       if (ata_msg_probe(ap))
-               ata_dev_printk(dev, KERN_DEBUG, "%s: EXIT, drv_stat = 0x%x\n",
-                       __func__, ata_chk_status(ap));
        return 0;
 
 err_out_nosup: