git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d33fdee
)
[libata] remove SCSI host lock and serial number usage from ata_scsi_queuecmd
author
Jeff Garzik
<jeff@garzik.org>
Wed, 17 Nov 2010 17:03:58 +0000
(12:03 -0500)
committer
Jeff Garzik
<jgarzik@redhat.com>
Wed, 17 Nov 2010 17:03:58 +0000
(12:03 -0500)
cmd->serial_number is never tested in any path we reach; therefore we may
remove the call to scsi_cmd_get_serial() inside DEF_SCSI_QCMD, the SCSI
host_lock acquisition surrounding it, and our own SCSI host_lock
unlock+relock cycle.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
No differences found