nvme: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
e7451a6b82
commit
1093caa1bb
@ -53,8 +53,6 @@ int32_t nvme_retry_count;
|
||||
|
||||
MALLOC_DEFINE(M_NVME, "nvme", "nvme(4) memory allocations");
|
||||
|
||||
devclass_t nvme_devclass;
|
||||
|
||||
static void
|
||||
nvme_init(void)
|
||||
{
|
||||
|
@ -54,7 +54,7 @@ static driver_t nvme_ahci_driver = {
|
||||
sizeof(struct nvme_controller),
|
||||
};
|
||||
|
||||
DRIVER_MODULE(nvme, ahci, nvme_ahci_driver, nvme_devclass, NULL, 0);
|
||||
DRIVER_MODULE(nvme, ahci, nvme_ahci_driver, NULL, NULL);
|
||||
|
||||
static int
|
||||
nvme_ahci_probe (device_t device)
|
||||
|
@ -66,7 +66,7 @@ static driver_t nvme_pci_driver = {
|
||||
sizeof(struct nvme_controller),
|
||||
};
|
||||
|
||||
DRIVER_MODULE(nvme, pci, nvme_pci_driver, nvme_devclass, NULL, 0);
|
||||
DRIVER_MODULE(nvme, pci, nvme_pci_driver, NULL, NULL);
|
||||
|
||||
static struct _pcsid
|
||||
{
|
||||
|
@ -114,8 +114,6 @@ struct nvme_completion_poll_status {
|
||||
int done;
|
||||
};
|
||||
|
||||
extern devclass_t nvme_devclass;
|
||||
|
||||
#define NVME_REQUEST_VADDR 1
|
||||
#define NVME_REQUEST_NULL 2 /* For requests with no payload. */
|
||||
#define NVME_REQUEST_UIO 3
|
||||
|
Loading…
Reference in New Issue
Block a user