mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 19:07:52 +00:00
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>
This commit is contained in:
parent
a1efdaba2d
commit
21572ea58a
1 changed files with 0 additions and 1 deletions
|
@ -2156,7 +2156,6 @@ int ata_dev_read_id(struct ata_device *dev, unsigned int *p_class,
|
||||||
if (ata_msg_ctl(ap))
|
if (ata_msg_ctl(ap))
|
||||||
ata_dev_printk(dev, KERN_DEBUG, "%s: ENTER\n", __func__);
|
ata_dev_printk(dev, KERN_DEBUG, "%s: ENTER\n", __func__);
|
||||||
|
|
||||||
ata_dev_select(ap, dev->devno, 1, 1); /* select device 0/1 */
|
|
||||||
retry:
|
retry:
|
||||||
ata_tf_init(dev, &tf);
|
ata_tf_init(dev, &tf);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue