aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme/target/loop.c
diff options
context:
space:
mode:
authorDongli Zhang <dongli.zhang@oracle.com>2020-06-08 09:20:01 -0700
committerChristoph Hellwig <hch@lst.de>2020-07-08 16:16:16 +0200
commitb261b61c9e03ddf21464cda777a2457113b118be (patch)
tree73dc66342fc33fb9d34300fdda00ec48863c6022 /drivers/nvme/target/loop.c
parentnvme-pci: remove the empty line at the beginning of nvme_should_reset() (diff)
downloadlinux-dev-b261b61c9e03ddf21464cda777a2457113b118be.tar.xz
linux-dev-b261b61c9e03ddf21464cda777a2457113b118be.zip
nvmet-loop: remove unused 'target_ctrl' in nvme_loop_ctrl
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> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target/loop.c')
-rw-r--r--drivers/nvme/target/loop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvme/target/loop.c b/drivers/nvme/target/loop.c
index 8a0d4fe7bc18..f2c80a51985f 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;
};