diff options
author | Klaus Jensen <k.jensen@samsung.com> | 2021-04-14 21:46:00 +0200 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2021-05-17 09:19:00 +0200 |
commit | 9d394c80f19b86c5a0a8ca30d976bf2a25c3b645 (patch) | |
tree | 42231a05a539036c5eb82ccf511a1b719b8a946f /hw/block/nvme.h | |
parent | 72ea5c2c2067086ced90c7f5e4d98c93072a0fc2 (diff) |
hw/block/nvme: remove num_namespaces member
The NvmeCtrl num_namespaces member is just an indirection for the
NVME_MAX_NAMESPACES constant.
Remove the indirection.
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'hw/block/nvme.h')
-rw-r--r-- | hw/block/nvme.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/block/nvme.h b/hw/block/nvme.h index ac3f0a8867..fb028d81d1 100644 --- a/hw/block/nvme.h +++ b/hw/block/nvme.h @@ -401,7 +401,6 @@ typedef struct NvmeCtrl { uint16_t cqe_size; uint16_t sqe_size; uint32_t reg_size; - uint32_t num_namespaces; uint32_t max_q_ents; uint8_t outstanding_aers; uint32_t irq_status; |