diff options
author | 2021-12-01 14:28:31 +0000 | |
---|---|---|
committer | 2021-12-02 21:41:47 -0500 | |
commit | bf3f120fd61c42c2f4aed8995e5417776d788c37 (patch) | |
tree | 0b873f744eb5e01ed376aee84d372d863e257b16 /tools/perf/scripts/python/stackcollapse.py | |
parent | scsi: sd_zbc: Simplify zone full condition check (diff) | |
download | linux-dev-bf3f120fd61c42c2f4aed8995e5417776d788c37.tar.xz linux-dev-bf3f120fd61c42c2f4aed8995e5417776d788c37.zip |
scsi: sd_zbc: Clean up sd_zbc_parse_report() setting of wp
Make sd_zbc_parse_report() use if/else when setting the write pointer,
instead of setting it unconditionally and then conditionally updating it.
Link: https://lore.kernel.org/r/20211201142821.64650-2-Niklas.Cassel@wdc.com
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions