summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/nvme.h
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2022-02-15 07:37:19 -0800
committerChristoph Hellwig <hch@lst.de>2022-02-28 13:45:06 +0200
commit0a9f850061d9126b9a4aaf56ae1810138cac0f51 (patch)
treeb8518ed108ded4b52382581bd9012309c817c394 /drivers/nvme/host/nvme.h
parent1c3adf0de1db86cf354dcb1a2dd1184e5e63a50a (diff)
downloadlinux-0a9f850061d9126b9a4aaf56ae1810138cac0f51.tar.bz2
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>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r--drivers/nvme/host/nvme.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index 4ce48203e63f..587d92df118b 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -280,7 +280,6 @@ struct nvme_ctrl {
u16 crdt[3];
u16 oncs;
u16 oacs;
- u16 nssa;
u16 nr_streams;
u16 sqsize;
u32 max_namespaces;