The branch main has been updated by jhb:

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

commit b8b05cc2b8dbd02f3ffaa2f08d0303d425fd2b56
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2022-05-06 22:46:56 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2022-05-06 22:46:56 +0000

    smbios: Remove unused devclass argument to DRIVER_MODULE.
---
 sys/dev/smbios/smbios.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys/dev/smbios/smbios.c b/sys/dev/smbios/smbios.c
index 1e6dd2a20166..57f20d7b75c1 100644
--- a/sys/dev/smbios/smbios.c
+++ b/sys/dev/smbios/smbios.c
@@ -67,8 +67,6 @@ struct smbios_softc {
 
 #define        RES2EPS(res)    ((struct smbios_eps *)rman_get_virtual(res))
 
-static devclass_t      smbios_devclass;
-
 static void    smbios_identify (driver_t *, device_t);
 static int     smbios_probe    (device_t);
 static int     smbios_attach   (device_t);
@@ -247,7 +245,7 @@ static driver_t smbios_driver = {
        sizeof(struct smbios_softc),
 };
 
-DRIVER_MODULE(smbios, nexus, smbios_driver, smbios_devclass, smbios_modevent, 
0);
+DRIVER_MODULE(smbios, nexus, smbios_driver, smbios_modevent, NULL);
 #ifdef ARCH_MAY_USE_EFI
 MODULE_DEPEND(smbios, efirt, 1, 1, 1);
 #endif

Reply via email to