Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57eeaf8e authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarKeith Busch <keith.busch@intel.com>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
parent 0a72bbba
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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 {