aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme/target/nvmet.h
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2018-05-10 02:46:30 -0400
committerChristoph Hellwig <hch@lst.de>2018-05-25 16:50:12 +0200
commit618cff4285dc0ef6ebb99f715116e7af62565293 (patch)
treedfb5fa2d44a714d4b60d4688a312ff3787051abb /drivers/nvme/target/nvmet.h
parentnvmet: make a few error messages more generic (diff)
downloadlinux-dev-618cff4285dc0ef6ebb99f715116e7af62565293.tar.xz
linux-dev-618cff4285dc0ef6ebb99f715116e7af62565293.zip
nvmet: remove duplicate NULL initialization for req->ns
Remove the duplicate NULL initialization for req->ns. req->ns is always initialized to NULL in nvmet_req_init(), so there is no need to reset it later on failures unless we have previously assigned a value to it. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions