]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/nvme/host/core.c
Merge branch 'for-4.9/block-irq' of git://git.kernel.dk/linux-block
[mirror_ubuntu-bionic-kernel.git] / drivers / nvme / host / core.c
index 4669c052239ed21beb09028736e15824dbb04681..329381a28edf8a7e4b3bb4c6ca2da669ee9caa4a 100644 (file)
@@ -1851,9 +1851,6 @@ static void nvme_scan_work(struct work_struct *work)
        list_sort(NULL, &ctrl->namespaces, ns_cmp);
        mutex_unlock(&ctrl->namespaces_mutex);
        kfree(id);
-
-       if (ctrl->ops->post_scan)
-               ctrl->ops->post_scan(ctrl);
 }
 
 void nvme_queue_scan(struct nvme_ctrl *ctrl)