projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
629f944
)
ide-scsi: remove needless SELECT_DRIVE() call
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:46 +0000
(19:56 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:46 +0000
(19:56 +0100)
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>
drivers/scsi/ide-scsi.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/ide-scsi.c
b/drivers/scsi/ide-scsi.c
index 7901272d9b3e23438e8b59a1f1175e2b304028e5..6c4f0f0817851cb92a2c798986011336b1fc1ed7 100644
(file)
--- 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)