projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a54a93d
)
nvme: Remove unused field
author
Nilay Shroff
<nilay@linux.ibm.com>
Wed, 14 Aug 2024 13:56:50 +0000
(19:26 +0530)
committer
Keith 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/host/nvme.h
b/drivers/nvme/host/nvme.h
index ae5314d32943e8c9ba43c0d287de411fbd201679..da57947130cc7a65ae14b1e9a73bcbf9eeff1066 100644
(file)
--- 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;