summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2021-01-13 17:33:52 -0800
committerChristoph Hellwig <hch@lst.de>2021-02-02 10:26:11 +0100
commit624e67fdf9a657fe437d84dd9f28b35e594183dd (patch)
tree25d3759e436bb9d80a3f85ec48b4ddcf1f98600e /.clang-format
parentfc97e942d90c2103755f2fcd9a068a4ee7dfc1bf (diff)
downloadlinux-624e67fdf9a657fe437d84dd9f28b35e594183dd.tar.bz2
nvmet: remove extra variable in smart log nsid
We remove the extra local variable struct nvmet_ns in nvmet_get_smart_log_nsid() 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 '.clang-format')
0 files changed, 0 insertions, 0 deletions