diff options
author | Bart Van Assche <bvanassche@acm.org> | 2024-03-26 01:47:53 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-04-09 05:12:33 +0300 |
commit | 9972c02a806772f61ff0da7c3740be4ef0600553 (patch) | |
tree | 603573d218f9bd56768039ef44506837497e13ef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4cece764965020c22cff7665b18a012006359095 (diff) | |
download | linux-9972c02a806772f61ff0da7c3740be4ef0600553.tar.xz |
scsi: core: Introduce scsi_cmd_list_info()
Slightly improve code readability by introducing a helper function for
deriving the list information and by using guard() + return instead of
goto + explicit unlock + return.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240325224755.1477910-2-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions