Skip to content

Commit

Permalink
nvme: Remove unused field
Browse files Browse the repository at this point in the history
The "name" field in struct nvme_ctrl is unsued so removing it.
This would help save 12 bytes of space for each nvme_ctrl instance
created.

Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
  • Loading branch information
Nilay Shroff authored and Keith Busch committed Aug 22, 2024
1 parent a54a93d commit fe01751
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/nvme/host/nvme.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ struct nvme_ctrl {

struct opal_dev *opal_dev;

char name[12];
u16 cntlid;

u16 mtfa;
Expand Down

0 comments on commit fe01751

Please sign in to comment.