Browse Source

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>
Christoph Hellwig 8 years ago
parent
commit
57eeaf8ec6
1 changed files with 1 additions and 5 deletions
  1. 1 5
      drivers/nvme/host/nvme.h

+ 1 - 5
drivers/nvme/host/nvme.h

@@ -211,13 +211,9 @@ struct nvme_ns {
 	bool ext;
 	bool ext;
 	u8 pi_type;
 	u8 pi_type;
 	unsigned long flags;
 	unsigned long flags;
-	u16 noiob;
-
 #define NVME_NS_REMOVING 0
 #define NVME_NS_REMOVING 0
 #define NVME_NS_DEAD     1
 #define NVME_NS_DEAD     1
-
-	u64 mode_select_num_blocks;
-	u32 mode_select_block_len;
+	u16 noiob;
 };
 };
 
 
 struct nvme_ctrl_ops {
 struct nvme_ctrl_ops {