nvme: delete an unnecessary declaration
Subsystems (2)
PATCH 1/1 nvme: delete an unnecessary declaration
The nvme_put_ctrl() is implemented earlier as an inline function so this declaration isn't required.
Signed-off-by Dan Carpenter <[email protected]>
--- drivers/nvme/host/nvme.h | 1 - 1 file changed, 1 deletion(-)
drivers/nvme/host/nvme.h +0 -1
@@ -497,7 +497,6 @@ int nvme_init_ctrl(struct nvme_ctrl *ctrl, struct device *dev,void nvme_uninit_ctrl (struct nvme_ctrl *ctrl);void nvme_start_ctrl (struct nvme_ctrl *ctrl);void nvme_stop_ctrl (struct nvme_ctrl *ctrl); -void nvme_put_ctrl (struct nvme_ctrl *ctrl);int nvme_init_identify (struct nvme_ctrl *ctrl);void nvme_remove_namespaces (struct nvme_ctrl *ctrl);
Signature · 1 line
2.26.2
Quoted 4 lines · Dan Carpenter
The
nvme_put_ctrl()is implemented earlier as an inline function so this declaration isn't required.Signed-off-by Dan Carpenter<[email protected]>
Looks good.
Reviewed-by Chaitanya Kulkarni <[email protected]>
Reviewed-by Sagi Grimberg <[email protected]>
Thanks,
applied to nvme-5.8.