aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorNilay Shroff <nilay@linux.ibm.com>2024-08-14 19:26:50 +0530
committerKeith Busch <kbusch@kernel.org>2024-08-22 13:28:40 -0700
commitfe01751347359862c65c715d51c0b3f4fa8ee2f0 (patch)
tree69882646b3b070122e87c232fda1571bc9452bf1 /drivers
parenta54a93d0e3599b05856971734e15418ac551a14c (diff)
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 <nilay@linux.ibm.com> Reviewed-by: Kanchan Joshi <joshi.k@samsung.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/nvme/host/nvme.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index ae5314d32943..da57947130cc 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -301,7 +301,6 @@ struct nvme_ctrl {
struct opal_dev *opal_dev;
- char name[12];
u16 cntlid;
u16 mtfa;