git: 30c024c54afc - main - re/rl: Remove unused devclass arguments to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 06 May 2022 23:24:43 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=30c024c54afce39a21642308e87891c06cbb6fc5

commit 30c024c54afce39a21642308e87891c06cbb6fc5
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-06 22:46:55 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:46:55 +0000

    re/rl: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/dev/re/if_re.c | 4 +---
 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)					\