summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host
diff options
context:
space:
mode:
authorNilay Shroff <nilay@linux.ibm.com>2024-08-14 15:56:50 +0200
committerKeith Busch <kbusch@kernel.org>2024-08-22 22:28:40 +0200
commitfe01751347359862c65c715d51c0b3f4fa8ee2f0 (patch)
tree69882646b3b070122e87c232fda1571bc9452bf1 /drivers/nvme/host
parentnvme: move stopping keep-alive into nvme_uninit_ctrl() (diff)
downloadlinux-fe01751347359862c65c715d51c0b3f4fa8ee2f0.tar.xz
linux-fe01751347359862c65c715d51c0b3f4fa8ee2f0.zip
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/nvme/host')
-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;