nvme: simple cleanup
Subsystems (2)
cover nvme: simple cleanup
Just cleanup without functional change.
Thank you very much!
Dongli Zhang
_______________________________________________
linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme
PATCH 1/2 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").
--- drivers/nvme/target/loop.c | 1 - 1 file changed, 1 deletion(-)
drivers/nvme/target/loop.c +0 -1
@@ -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; };
Signature · 7 lines
2.17.1 _______________________________________________ linux-nvme mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-nvme
Re: [PATCH 1/2] nvmet-loop: remove unused 'target_ctrl' in nvme_loop_ctrl
Re: [PATCH 1/2] nvmet-loop: remove unused 'target_ctrl' in nvme_loop_ctrl
In reply to Dongli ZhangQuoted 4 lines · Dongli Zhang
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<[email protected]>
PATCH 2/2 nvme-pci: remove empty line following nvme_should_reset()
In reply to Dongli ZhangJust cleanup by removing the empty line.
--- drivers/nvme/host/pci.c | 1 - 1 file changed, 1 deletion(-)
drivers/nvme/host/pci.c +0 -1
@@ -1153,7 +1153,6 @@ static void abort_endio(struct request *req, blk_status_t error)static bool nvme_should_reset (struct nvme_dev *dev,u32 csts) { -/* If true, indicates loss of adapter communication, possibly by a * NVMe Subsystem reset. */
Signature · 7 lines
2.17.1 _______________________________________________ linux-nvme mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-nvme
Re: [PATCH 2/2] nvme-pci: remove empty line following nvme_should_reset()
Re: [PATCH 2/2] nvme-pci: remove empty line following nvme_should_reset()
In reply to Dongli ZhangQuoted 4 lines · Dongli Zhang
Just cleanup by removing the empty line.
Signed-off-by Dongli Zhang <[email protected]>---
Thanks,
applied to nvme-5.9.