Skip to content

Commit fe01751

Browse files
shroffnikeithbusch
authored andcommitted
nvme: Remove unused field
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 <[email protected]> Reviewed-by: Kanchan Joshi <[email protected]> Signed-off-by: Keith Busch <[email protected]>
1 parent a54a93d commit fe01751

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/nvme/host/nvme.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ struct nvme_ctrl {
301301

302302
struct opal_dev *opal_dev;
303303

304-
char name[12];
305304
u16 cntlid;
306305

307306
u16 mtfa;

0 commit comments

Comments
 (0)