iavf/ice/ixl: Remove unused devclass arguments to DRIVER_MODULE.

This commit is contained in:
John Baldwin 2022-05-06 15:46:59 -07:00
parent 95d60710be
commit 83c0a9e839
3 changed files with 3 additions and 12 deletions

View File

@ -125,8 +125,7 @@ static driver_t iavf_driver = {
"iavf", iavf_methods, sizeof(struct iavf_sc),
};
devclass_t iavf_devclass;
DRIVER_MODULE(iavf, pci, iavf_driver, iavf_devclass, 0, 0);
DRIVER_MODULE(iavf, pci, iavf_driver, 0, 0);
MODULE_VERSION(iavf, 1);
MODULE_DEPEND(iavf, pci, 1, 1, 1);

View File

@ -269,14 +269,7 @@ static struct if_shared_ctx ice_sctx = {
.isc_ntxd_default = {ICE_DEFAULT_DESC_COUNT},
};
/**
* @var ice_devclass
* @brief ice driver device class
*
* device class used to setup the ice driver module kobject class.
*/
devclass_t ice_devclass;
DRIVER_MODULE(ice, pci, ice_driver, ice_devclass, ice_module_event_handler, 0);
DRIVER_MODULE(ice, pci, ice_driver, ice_module_event_handler, NULL);
MODULE_VERSION(ice, 1);
MODULE_DEPEND(ice, pci, 1, 1, 1);

View File

@ -155,8 +155,7 @@ static driver_t ixl_driver = {
"ixl", ixl_methods, sizeof(struct ixl_pf),
};
devclass_t ixl_devclass;
DRIVER_MODULE(ixl, pci, ixl_driver, ixl_devclass, 0, 0);
DRIVER_MODULE(ixl, pci, ixl_driver, 0, 0);
IFLIB_PNP_INFO(pci, ixl, ixl_vendor_info_array);
MODULE_VERSION(ixl, 3);