]> www.infradead.org Git - users/hch/configfs.git/commitdiff
nvme: Remove unused field
authorNilay Shroff <nilay@linux.ibm.com>
Wed, 14 Aug 2024 13:56:50 +0000 (19:26 +0530)
committerKeith Busch <kbusch@kernel.org>
Thu, 22 Aug 2024 20:28:40 +0000 (13:28 -0700)
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>
drivers/nvme/host/nvme.h

index ae5314d32943e8c9ba43c0d287de411fbd201679..da57947130cc7a65ae14b1e9a73bcbf9eeff1066 100644 (file)
@@ -301,7 +301,6 @@ struct nvme_ctrl {
 
        struct opal_dev *opal_dev;
 
-       char name[12];
        u16 cntlid;
 
        u16 mtfa;