From: Tejun Heo Date: Tue, 25 Mar 2008 13:16:43 +0000 (+0900) Subject: libata: kill ata_chk_status() call from ata_dev_configure() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3d5a3d67a578d95ac3a11a862d16a054e2d4d9cd;p=linux-beck.git libata: kill ata_chk_status() call from ata_dev_configure() 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 Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 34c068f18350..54f85508bc6e 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -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: