From: Dongli Zhang <dongli.zhang@oracle.com>
To: linux-nvme@lists.infradead.org
Cc: linux-kernel@vger.kernel.org, hch@lst.de, sagi@grimberg.me,
chaitanya.kulkarni@wdc.com, kbusch@kernel.org, axboe@fb.com
Subject: [PATCH 1/2] nvmet-loop: remove unused 'target_ctrl' in nvme_loop_ctrl
Date: Mon, 8 Jun 2020 09:20:01 -0700 [thread overview]
Message-ID: <20200608162002.17017-2-dongli.zhang@oracle.com> (raw)
In-Reply-To: <20200608162002.17017-1-dongli.zhang@oracle.com>
This field is never used since the introduction of nvme loopback by
commit 3a85a5de29ea ("nvme-loop: add a NVMe loopback host driver").
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
---
drivers/nvme/target/loop.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/nvme/target/loop.c b/drivers/nvme/target/loop.c
index 0d54e730cbf2..e8fa70c15143 100644
--- a/drivers/nvme/target/loop.c
+++ b/drivers/nvme/target/loop.c
@@ -36,7 +36,6 @@ struct nvme_loop_ctrl {
struct nvme_loop_iod async_event_iod;
struct nvme_ctrl ctrl;
- struct nvmet_ctrl *target_ctrl;
struct nvmet_port *port;
};
--
2.17.1
next prev parent reply other threads:[~2020-06-08 16:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-08 16:20 [PATCH 0/2] nvme: simple cleanup Dongli Zhang
2020-06-08 16:20 ` Dongli Zhang [this message]
2020-06-08 16:56 ` [PATCH 1/2] nvmet-loop: remove unused 'target_ctrl' in nvme_loop_ctrl Sagi Grimberg
2020-06-08 21:34 ` Chaitanya Kulkarni
2020-06-08 16:20 ` [PATCH 2/2] nvme-pci: remove empty line following nvme_should_reset() Dongli Zhang
2020-06-08 16:56 ` Sagi Grimberg
2020-06-08 21:34 ` Chaitanya Kulkarni
2020-06-09 13:55 ` [PATCH 0/2] nvme: simple cleanup 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=20200608162002.17017-2-dongli.zhang@oracle.com \
--to=dongli.zhang@oracle.com \
--cc=axboe@fb.com \
--cc=chaitanya.kulkarni@wdc.com \
--cc=hch@lst.de \
--cc=kbusch@kernel.org \
--cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox