aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-03-25 09:16:39 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 15:44:18 -0400
commit21572ea58a1f99a59044febde90c31167d2f59ae (patch)
treeb46461d72f797ff23ba844034a052cea45163d4b /drivers
parenta1efdaba2dbd6fb89e23a87b66d3f4dd92c9f5af (diff)
libata: drop ata_dev_select() from ata_dev_read_id
There is no reason to issue device select in read_id, it will be done by ops->qc_issue() when IDENTIFY[_PACKET] is issued via ata_exec_internal(). Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/libata-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 345f4a6865a8..7860d9f60ae4 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -2156,7 +2156,6 @@ int ata_dev_read_id(struct ata_device *dev, unsigned int *p_class,
2156 if (ata_msg_ctl(ap)) 2156 if (ata_msg_ctl(ap))
2157 ata_dev_printk(dev, KERN_DEBUG, "%s: ENTER\n", __func__); 2157 ata_dev_printk(dev, KERN_DEBUG, "%s: ENTER\n", __func__);
2158 2158
2159 ata_dev_select(ap, dev->devno, 1, 1); /* select device 0/1 */
2160 retry: 2159 retry:
2161 ata_tf_init(dev, &tf); 2160 ata_tf_init(dev, &tf);
2162 2161