diff options
author | James Smart <jsmart2021@gmail.com> | 2020-03-31 09:49:56 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-09 16:18:34 -0600 |
commit | 0dfb992e0ec2e7b9e5ccf92d2261aaa6b5cc57a8 (patch) | |
tree | a9bc0bd13beee9e3d430654b077bc61c04d469cd /include/dt-bindings/clock | |
parent | a5c2b4f633cf06df62d24b0ef11f824e8da646a5 (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 <jsmart2021@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/dt-bindings/clock')
0 files changed, 0 insertions, 0 deletions