Skip to content

Commit

Permalink
nvmet-loop: remove unused 'target_ctrl' in nvme_loop_ctrl
Browse files Browse the repository at this point in the history
This field is never used since the introduction of nvme loopback by
commit 3a85a5d ("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>
  • Loading branch information
Dongli Zhang authored and Christoph Hellwig committed Jul 8, 2020
1 parent ad50999 commit b261b61
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/nvme/target/loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit b261b61

Please sign in to comment.