aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTyrel Datwyler <[email protected]>2020-11-17 19:10:59 -0600
committerMartin K. Petersen <[email protected]>2020-11-19 22:09:10 -0500
commitfad74a1be2dbeae02d71e072418eeb307ce46103 (patch)
tree5ae2a9b321218d8152f0911ba652fe260a49e827 /tools/perf/scripts/python
parent2aa0102c6688306548d81a958a6293936904ca75 (diff)
scsi: ibmvfc: Deduplicate common ibmvfc_cmd init code
The virtual FC frame command exchanged with the VIOS is used for device reset and command abort TMF as well as normally queued commands. When initializing the ibmvfc_cmd there are several elements of the command that are set the same way regardless of the command type. Deduplicate code by moving these commonally set fields into a initialization helper routine, namely ibmvfc_init_vfc_cmd(). Link: https://lore.kernel.org/r/[email protected] Acked-by: Brian King <[email protected]> Signed-off-by: Tyrel Datwyler <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions