summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/core.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2019-01-01 00:19:30 -0800
committerChristoph Hellwig <hch@lst.de>2019-02-04 15:41:25 +0100
commit794a4cb3d2f7c105112f9b59525533f00ac06006 (patch)
treef21897d5dda9535b2011e41f928e205866438f49 /drivers/nvme/host/core.c
parent6e02318eaea53eaafe628c4ffc254f57b2704561 (diff)
downloadtalos-op-linux-794a4cb3d2f7c105112f9b59525533f00ac06006.tar.gz
talos-op-linux-794a4cb3d2f7c105112f9b59525533f00ac06006.zip
nvme: remove the .stop_ctrl callout
It is used now just to flush error recovery and reconnect work items in the RDMA and TCP transports, which can simply be moved to the corresponding teardown routines. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/core.c')
-rw-r--r--drivers/nvme/host/core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 5c2d2f1e7261..c365f0aa9433 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -3639,8 +3639,6 @@ void nvme_stop_ctrl(struct nvme_ctrl *ctrl)
nvme_stop_keep_alive(ctrl);
flush_work(&ctrl->async_event_work);
cancel_work_sync(&ctrl->fw_act_work);
- if (ctrl->ops->stop_ctrl)
- ctrl->ops->stop_ctrl(ctrl);
}
EXPORT_SYMBOL_GPL(nvme_stop_ctrl);
OpenPOWER on IntegriCloud