diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-05-06 22:46:55 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-05-06 22:46:55 +0000 |
commit | 30c024c54afce39a21642308e87891c06cbb6fc5 (patch) | |
tree | e6e02f62279c3e4d74b2453c9bc943380c9dc69c /sys | |
parent | aed8cdc8cd9a810e67d9374d1a18cb27771ef2cc (diff) | |
download | src-30c024c54afce39a21642308e87891c06cbb6fc5.tar.gz src-30c024c54afce39a21642308e87891c06cbb6fc5.zip |
re/rl: Remove unused devclass arguments to DRIVER_MODULE.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/re/if_re.c | 4 | ||||
-rw-r--r-- | sys/dev/rl/if_rl.c | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c index 3e674908b22f..271a7f47b5e4 100644 --- a/sys/dev/re/if_re.c +++ b/sys/dev/re/if_re.c @@ -350,9 +350,7 @@ static driver_t re_driver = { sizeof(struct rl_softc) }; -static devclass_t re_devclass; - -DRIVER_MODULE(re, pci, re_driver, re_devclass, 0, 0); +DRIVER_MODULE(re, pci, re_driver, 0, 0); DRIVER_MODULE(miibus, re, miibus_driver, 0, 0); #define EE_SET(x) \ diff --git a/sys/dev/rl/if_rl.c b/sys/dev/rl/if_rl.c index 32bd569809e0..a53bc7d6eb1a 100644 --- a/sys/dev/rl/if_rl.c +++ b/sys/dev/rl/if_rl.c @@ -256,12 +256,10 @@ static driver_t rl_driver = { sizeof(struct rl_softc) }; -static devclass_t rl_devclass; - -DRIVER_MODULE(rl, pci, rl_driver, rl_devclass, 0, 0); +DRIVER_MODULE(rl, pci, rl_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device", pci, rl, rl_devs, nitems(rl_devs) - 1); -DRIVER_MODULE(rl, cardbus, rl_driver, rl_devclass, 0, 0); +DRIVER_MODULE(rl, cardbus, rl_driver, 0, 0); DRIVER_MODULE(miibus, rl, miibus_driver, 0, 0); #define EE_SET(x) \ |