]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: remove nssa from struct nvme_ctrl
authorKeith Busch <kbusch@kernel.org>
Tue, 15 Feb 2022 15:37:19 +0000 (07:37 -0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 28 Feb 2022 11:45:06 +0000 (13:45 +0200)
commit4a46655a27b04dce12cffca0ad60c8600a980909
treeb8518ed108ded4b52382581bd9012309c817c394
parent86f54bb42ab22ad206b74fd4ce182dd6787c8c42
nvme: remove nssa from struct nvme_ctrl

The reported number of streams is not used outside the function that
gets it, so no need to stash it in the controller structure. Use a local
variable instead.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h