diff options
| author | Chaitanya Kulkarni <[email protected]> | 2021-01-13 17:33:53 -0800 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2021-02-02 10:26:11 +0100 |
| commit | 3631c7f4a24165b9431942b85b502454edb0c33b (patch) | |
| tree | d1fbcfe1cb042b66d5c1d1888c97461f0039ccbb /scripts/gdb/linux/utils.py | |
| parent | 624e67fdf9a657fe437d84dd9f28b35e594183dd (diff) | |
nvmet: remove extra variable in id-desclist
We remove the extra local variable struct nvmet_ns in
nvmet_execute_identify_desclist() since req already has ns member that
can be reused, this also eliminates the explicit call to
nvmet_put_namespace() which is already present in the request
completion path.
Signed-off-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions