diff options
| author | Michael Kelley <[email protected]> | 2021-06-04 10:21:01 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-06-15 22:21:43 -0400 |
| commit | d46748590a8538aeaf2349d9539f571708500a54 (patch) | |
| tree | b77ffb5b4b9af1a410d125ba0248103ce1d0c308 /tools/perf/scripts/python/bin/stackcollapse-record | |
| 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/[email protected]
Signed-off-by: Michael Kelley <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions