summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2011-04-22 10:21:44 (GMT)
committerStefan Richter <stefanr@s5r6.in-berlin.de>2011-05-10 20:53:45 (GMT)
commitb75ca5ea8e439893121ad80406a3c04c4b7612ab (patch)
tree9a260ae737d99d66aa3d42fdfb0bda2125ca47e2 /Makefile
parent6ea9e7bbfc389a12d52646449a201fe933ccd663 (diff)
downloadlinux-b75ca5ea8e439893121ad80406a3c04c4b7612ab.tar.xz
firewire: sbp2: omit Scsi_Host lock from queuecommand
firewire-sbp2 already takes care for internal serialization where required (ORB list accesses), and it does not use cmd->serial_number internally. Hence it is safe to not grab the shost lock around queuecommand. While we are at housekeeping, drop a redundant struct member: sbp2_command_orb.done is set once in a hot path and dereferenced once in a hot path. We can as well dereference sbp2_command_orb.cmd->scsi_done instead. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions