nvmet-loop: remove unused 'target_ctrl' in nvme_loop_ctrl
authorDongli Zhang <dongli.zhang@oracle.com>
Mon, 8 Jun 2020 16:20:01 +0000 (09:20 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 8 Jul 2020 14:16:16 +0000 (16:16 +0200)
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>
drivers/nvme/target/loop.c

index 8a0d4fe7bc18b412a2bb1c5b1d879023bdb72886..f2c80a51985f3063b1d774382c285945af273e83 100644 (file)
@@ -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;
 };