aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2020-03-31 09:49:56 -0700
committerJens Axboe <[email protected]>2020-05-09 16:18:34 -0600
commit0dfb992e0ec2e7b9e5ccf92d2261aaa6b5cc57a8 (patch)
treea9bc0bd13beee9e3d430654b077bc61c04d469cd /tools/perf/scripts/python/event_analyzing_sample.py
parenta5c2b4f633cf06df62d24b0ef11f824e8da646a5 (diff)
nvmet-fc: perform small cleanups on unneeded checks
While code reviewing saw a couple of items that can be cleaned up: - In nvmet_fc_delete_target_queue(), the routine unlocks, then checks and relocks. Reorganize to avoid the unlock/relock. - In nvmet_fc_delete_target_queue(), there's a check on the disconnect state that is unnecessary as the routine validates the state before starting any action. Signed-off-by: James Smart <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions