summaryrefslogtreecommitdiff
path: root/drivers/scsi/st.h
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2021-01-13 17:33:54 -0800
committerChristoph Hellwig <hch@lst.de>2021-02-02 10:26:11 +0100
commit3c7b224f1956ed232b24ed2eb2c54e4476c6acb2 (patch)
treefd47986bb6b145292f654bba745ab443d7094ee2 /drivers/scsi/st.h
parent3631c7f4a24165b9431942b85b502454edb0c33b (diff)
nvmet: remove extra variable in identify ns
We remove the extra local variable struct nvmet_ns in nvmet_execute_identify_ns() 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 <chaitanya.kulkarni@wdc.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/st.h')
0 files changed, 0 insertions, 0 deletions