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)
commit0a9f850061d9126b9a4aaf56ae1810138cac0f51
treeb8518ed108ded4b52382581bd9012309c817c394
parent1c3adf0de1db86cf354dcb1a2dd1184e5e63a50a
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