[PATCH 0/6] nvmet: small cleanup

Chaitanya Kulkarni
2021-06-14T01:59:07Z

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(-)