diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-11-17 12:03:58 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-11-17 12:03:58 -0500 |
commit | 23e701e6208191ad103517ae7a700f2dc59ab2ec (patch) | |
tree | b2934ff28c3a311710aeea0a06335c01bdf37012 /arch/arm | |
parent | d33fdee4d090076462cfe25473f7139c3204b16e (diff) | |
download | op-kernel-dev-23e701e6208191ad103517ae7a700f2dc59ab2ec.zip op-kernel-dev-23e701e6208191ad103517ae7a700f2dc59ab2ec.tar.gz |
[libata] remove SCSI host lock and serial number usage from ata_scsi_queuecmd
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>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions