Skip to content

Commit

Permalink
nvme: remove unused struct nvme_ns fields
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig committed Aug 29, 2017
1 parent 0a72bbb commit 57eeaf8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/nvme/host/nvme.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 57eeaf8

Please sign in to comment.