[PATCH 0/6] nvmet: small cleanup
Chaitanya Kulkarni
chaitanya.kulkarni at wdc.com
Sun Jun 13 18:58:45 PDT 2021
Hi,
This has cleanup for removing local variables which are only used once
or not used to do anything meaningful along with type mismatch for
subsys->max_nsid.
-ck
Chaitanya Kulkarni (6):
nvmet: use req->cmd directly in bdev-ns fast path
nvmet: use req->cmd directly in file-ns fast path
nvmet: use u32 for nvmet_subsys max_nsid
nvmet: use u32 type for the local variable nsid
nvmet: use nvme status value directly
nvmet: remove local variable
drivers/nvme/target/core.c | 30 ++++++++++--------------------
drivers/nvme/target/io-cmd-bdev.c | 4 +---
drivers/nvme/target/io-cmd-file.c | 4 +---
drivers/nvme/target/nvmet.h | 2 +-
4 files changed, 13 insertions(+), 27 deletions(-)
--
2.22.1
More information about the Linux-nvme
mailing list