netmap: Remove unused devclass arguments to DRIVER_MODULE.

This commit is contained in:
John Baldwin 2022-05-10 10:21:39 -07:00
parent 8059bf7b4a
commit a9424e0f06
2 changed files with 4 additions and 6 deletions

View file

@ -249,9 +249,8 @@ static driver_t ptnet_driver = {
};
/* We use (SI_ORDER_MIDDLE+2) here, see DEV_MODULE_ORDERED() invocation. */
static devclass_t ptnet_devclass;
DRIVER_MODULE_ORDERED(ptnet, pci, ptnet_driver, ptnet_devclass,
NULL, NULL, SI_ORDER_MIDDLE + 2);
DRIVER_MODULE_ORDERED(ptnet, pci, ptnet_driver, NULL, NULL,
SI_ORDER_MIDDLE + 2);
static int
ptnet_probe(device_t dev)

View file

@ -821,9 +821,8 @@ static driver_t ptn_memdev_driver = {
/* We use (SI_ORDER_MIDDLE+1) here, see DEV_MODULE_ORDERED() invocation
* below. */
static devclass_t ptnetmap_devclass;
DRIVER_MODULE_ORDERED(ptn_memdev, pci, ptn_memdev_driver, ptnetmap_devclass,
NULL, NULL, SI_ORDER_MIDDLE + 1);
DRIVER_MODULE_ORDERED(ptn_memdev, pci, ptn_memdev_driver, NULL, NULL,
SI_ORDER_MIDDLE + 1);
/*
* Map host netmap memory through PCI-BAR in the guest OS,