mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
nvme: remove the post_scan callout
No need now that we don't have to reverse engineer the irq affinity. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
dca51e7892
commit
b5af7f2ff0
2 changed files with 0 additions and 4 deletions
|
@ -1826,9 +1826,6 @@ static void nvme_scan_work(struct work_struct *work)
|
||||||
list_sort(NULL, &ctrl->namespaces, ns_cmp);
|
list_sort(NULL, &ctrl->namespaces, ns_cmp);
|
||||||
mutex_unlock(&ctrl->namespaces_mutex);
|
mutex_unlock(&ctrl->namespaces_mutex);
|
||||||
kfree(id);
|
kfree(id);
|
||||||
|
|
||||||
if (ctrl->ops->post_scan)
|
|
||||||
ctrl->ops->post_scan(ctrl);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void nvme_queue_scan(struct nvme_ctrl *ctrl)
|
void nvme_queue_scan(struct nvme_ctrl *ctrl)
|
||||||
|
|
|
@ -184,7 +184,6 @@ struct nvme_ctrl_ops {
|
||||||
int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val);
|
int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val);
|
||||||
int (*reset_ctrl)(struct nvme_ctrl *ctrl);
|
int (*reset_ctrl)(struct nvme_ctrl *ctrl);
|
||||||
void (*free_ctrl)(struct nvme_ctrl *ctrl);
|
void (*free_ctrl)(struct nvme_ctrl *ctrl);
|
||||||
void (*post_scan)(struct nvme_ctrl *ctrl);
|
|
||||||
void (*submit_async_event)(struct nvme_ctrl *ctrl, int aer_idx);
|
void (*submit_async_event)(struct nvme_ctrl *ctrl, int aer_idx);
|
||||||
int (*delete_ctrl)(struct nvme_ctrl *ctrl);
|
int (*delete_ctrl)(struct nvme_ctrl *ctrl);
|
||||||
const char *(*get_subsysnqn)(struct nvme_ctrl *ctrl);
|
const char *(*get_subsysnqn)(struct nvme_ctrl *ctrl);
|
||||||
|
|
Loading…
Reference in a new issue