aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2018-06-22 14:52:58 -0700
committerMartin K. Petersen <[email protected]>2018-07-02 16:44:31 -0400
commitedf46eee59c5acd829c3b6a564c26b5386362ea3 (patch)
tree890c3b07271518cb35e79977e6f28d917f6fc29b /tools/perf/scripts/python
parenta8864d861d62feadc5f37c6651a7d7a2fc2477a8 (diff)
scsi: target: Simplify transport_generic_free_cmd() (2/2)
Since target_wait_free_cmd() skips TMFs with no associated LUN, it is safe to call that function for such commands. Use this to simplify transport_generic_free_cmd(). The only functional change in this patch is that CMD_T_FABRIC_STOP gets set for TMFs with no associated LUN by transport_generic_free_cmd(). Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Mike Christie <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions