diff options
author | Michael Kelley <mikelley@microsoft.com> | 2021-06-04 10:21:01 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-15 22:21:43 -0400 |
commit | d46748590a8538aeaf2349d9539f571708500a54 (patch) | |
tree | b77ffb5b4b9af1a410d125ba0248103ce1d0c308 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 33c79741deaf09b50d56db4b22879d9557e846df (diff) |
scsi: storvsc: Miscellaneous code cleanups
As general cleanup and in preparation for subsequent patches:
- Use min() instead of open coding.
- Use set_host_byte() instead of open coding access to scsi_status
field.
- Collapse nested "if" statements to reduce indentation.
- Fix other indentation.
- Remove extra blank lines.
No functional changes.
[mkp: dropped status_byte() which no longer exists]
Link: https://lore.kernel.org/r/1622827263-12516-1-git-send-email-mikelley@microsoft.com
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
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