diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-02 13:56:46 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-02 13:56:46 -0500 |
commit | 98d2a7aad1cbeb6e75e054bfb09d172b9a175df5 (patch) | |
tree | 62746142fe6ef1e75622dc562469b6f6b42bc47d /drivers | |
parent | 629f944bb18c9deccce89ad833f1211c0036a632 (diff) |
ide-scsi: remove needless SELECT_DRIVE() call
SELECT_DRIVE() is called by IDE core code in start_request() before device
driver's ->do_request method. In ide-scsi case ->do_request is implemented
by idescsi_do_request() which is also the only user of idescsi_issue_pc().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/ide-scsi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c index 7901272d9b3e..6c4f0f081785 100644 --- a/drivers/scsi/ide-scsi.c +++ b/drivers/scsi/ide-scsi.c | |||
@@ -588,8 +588,6 @@ static ide_startstop_t idescsi_issue_pc (ide_drive_t *drive, idescsi_pc_t *pc) | |||
588 | hwif->sg_mapped = 0; | 588 | hwif->sg_mapped = 0; |
589 | } | 589 | } |
590 | 590 | ||
591 | SELECT_DRIVE(drive); | ||
592 | |||
593 | ide_pktcmd_tf_load(drive, IDE_TFLAG_NO_SELECT_MASK, bcount, dma); | 591 | ide_pktcmd_tf_load(drive, IDE_TFLAG_NO_SELECT_MASK, bcount, dma); |
594 | 592 | ||
595 | if (dma) | 593 | if (dma) |