gem: Remove unused devclass argument to DRIVER_MODULE.

This commit is contained in:
John Baldwin 2022-04-19 14:16:31 -07:00
parent a11ab694f2
commit 6f70f80c75
3 changed files with 1 additions and 4 deletions

View File

@ -133,7 +133,6 @@ static void gem_tint(struct gem_softc *sc);
static inline void gem_txkick(struct gem_softc *sc);
static int gem_watchdog(struct gem_softc *sc);
devclass_t gem_devclass;
DRIVER_MODULE(miibus, gem, miibus_driver, 0, 0);
MODULE_DEPEND(gem, miibus, 1, 1, 1);

View File

@ -114,7 +114,7 @@ static driver_t gem_pci_driver = {
sizeof(struct gem_softc)
};
DRIVER_MODULE(gem, pci, gem_pci_driver, gem_devclass, 0, 0);
DRIVER_MODULE(gem, pci, gem_pci_driver, 0, 0);
MODULE_PNP_INFO("W32:vendor/device", pci, gem, gem_pci_devlist,
nitems(gem_pci_devlist) - 1);
MODULE_DEPEND(gem, pci, 1, 1, 1);

View File

@ -263,8 +263,6 @@ do { \
#define GEM_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
#ifdef _KERNEL
extern devclass_t gem_devclass;
int gem_attach(struct gem_softc *sc);
void gem_detach(struct gem_softc *sc);
void gem_intr(void *v);