From: Bartlomiej Zolnierkiewicz Date: Sat, 2 Feb 2008 18:56:46 +0000 (+0100) Subject: ide-scsi: remove needless SELECT_DRIVE() call X-Git-Tag: v2.6.25-rc1~1068^2~28 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=98d2a7aad1cbeb6e75e054bfb09d172b9a175df5;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c index 7901272d9b3..6c4f0f08178 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) hwif->sg_mapped = 0; } - SELECT_DRIVE(drive); - ide_pktcmd_tf_load(drive, IDE_TFLAG_NO_SELECT_MASK, bcount, dma); if (dma)