From: Nilay Shroff <nilay@linux.ibm.com>
To: linux-nvme@lists.infradead.org
Cc: hch@lst.de, kbusch@kernel.org, sagi@grimberg.me, axboe@fb.com,
gjoyce@linux.ibm.com, Nilay Shroff <nilay@linux.ibm.com>
Subject: [PATCH] nvme: Remove unused parameter
Date: Wed, 14 Aug 2024 19:26:50 +0530 [thread overview]
Message-ID: <20240814135702.99402-1-nilay@linux.ibm.com> (raw)
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>
---
drivers/nvme/host/nvme.h | 1 -
1 file changed, 1 deletion(-)
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;
--
2.45.2
next reply other threads:[~2024-08-14 13:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20240814135805epcas5p319d7763f641ae4aeac6b4f39fba0072f@epcas5p3.samsung.com>
2024-08-14 13:56 ` Nilay Shroff [this message]
2024-08-16 5:31 ` [PATCH] nvme: Remove unused parameter Kanchan Joshi
2024-08-16 5:41 ` Christoph Hellwig
2024-08-16 7:00 ` Nilay Shroff
2024-08-16 7:59 ` Christoph Hellwig
2024-08-16 8:01 ` Nilay Shroff
2024-08-20 14:44 ` Keith Busch
[not found] <CGME20240729063922epcas5p35577196a5bb929f1fdf60306987d134d@epcas5p3.samsung.com>
2024-07-29 6:31 ` [PATCH] nvme: remove " Kanchan Joshi
2024-07-29 6:42 ` Sagi Grimberg
2024-07-29 14:15 ` Christoph Hellwig
2024-07-29 14:34 ` Keith Busch
2020-04-03 16:24 Keith Busch
2020-04-04 7:14 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240814135702.99402-1-nilay@linux.ibm.com \
--to=nilay@linux.ibm.com \
--cc=axboe@fb.com \
--cc=gjoyce@linux.ibm.com \
--cc=hch@lst.de \
--cc=kbusch@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=sagi@grimberg.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.