diff options
author | Christoph Hellwig <hch@lst.de> | 2017-08-16 15:47:37 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-08-29 10:22:26 +0200 |
commit | 57eeaf8ec67d5c5dee0ee9bb5b19866b8eef780d (patch) | |
tree | 4ba71cc9d5e521a62231b01acfd144f26da31109 | |
parent | 0a72bbba493bebd53fa78e6741b86a3003f070d6 (diff) |
nvme: remove unused struct nvme_ns fields
And move the flags for the flags field near that field while touching
this area.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
-rw-r--r-- | drivers/nvme/host/nvme.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index 9b959ee18cb6..936c4056d98e 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -211,13 +211,9 @@ struct nvme_ns { bool ext; u8 pi_type; unsigned long flags; - u16 noiob; - #define NVME_NS_REMOVING 0 #define NVME_NS_DEAD 1 - - u64 mode_select_num_blocks; - u32 mode_select_block_len; + u16 noiob; }; struct nvme_ctrl_ops { |