diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2011-04-22 12:21:44 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2011-05-10 22:53:45 +0200 |
commit | b75ca5ea8e439893121ad80406a3c04c4b7612ab (patch) | |
tree | 9a260ae737d99d66aa3d42fdfb0bda2125ca47e2 /tools/perf/builtin-evlist.c | |
parent | 6ea9e7bbfc389a12d52646449a201fe933ccd663 (diff) |
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 'tools/perf/builtin-evlist.c')
0 files changed, 0 insertions, 0 deletions