nvme: Make nvme_ctrlr_hw_reset static
nvme_ctrlr_hw_reset is no longer used outside of nvme_ctrlr.c, so make it static. If we need to change this in the future we can.
This commit is contained in:
parent
6c34d8ce11
commit
dd2516fc07
@ -403,7 +403,7 @@ nvme_ctrlr_disable_qpairs(struct nvme_controller *ctrlr)
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
nvme_ctrlr_hw_reset(struct nvme_controller *ctrlr)
|
||||
{
|
||||
int err;
|
||||
|
@ -398,7 +398,6 @@ void nvme_completion_poll_cb(void *arg, const struct nvme_completion *cpl);
|
||||
int nvme_ctrlr_construct(struct nvme_controller *ctrlr, device_t dev);
|
||||
void nvme_ctrlr_destruct(struct nvme_controller *ctrlr, device_t dev);
|
||||
void nvme_ctrlr_shutdown(struct nvme_controller *ctrlr);
|
||||
int nvme_ctrlr_hw_reset(struct nvme_controller *ctrlr);
|
||||
void nvme_ctrlr_reset(struct nvme_controller *ctrlr);
|
||||
/* ctrlr defined as void * to allow use with config_intrhook. */
|
||||
void nvme_ctrlr_start_config_hook(void *ctrlr_arg);
|
||||
|
Loading…
Reference in New Issue
Block a user