The branch main has been updated by jhb:

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

commit ea7e37731f10439e483326f2adc731ed284f3135
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-05-09 19:22:01 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2022-05-09 19:22:01 +0000

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

diff --git a/sys/dev/dcons/dcons_crom.c b/sys/dev/dcons/dcons_crom.c
index 2a320ef65f3d..63732cf80406 100644
--- a/sys/dev/dcons/dcons_crom.c
+++ b/sys/dev/dcons/dcons_crom.c
@@ -248,8 +248,6 @@ dcons_crom_detach(device_t dev)
        return 0;
 }
 
-static devclass_t dcons_crom_devclass;
-
 static device_method_t dcons_crom_methods[] = {
        /* device interface */
        DEVMETHOD(device_identify,      dcons_crom_identify),
@@ -265,8 +263,7 @@ static driver_t dcons_crom_driver = {
        sizeof(struct dcons_crom_softc),
 };
 
-DRIVER_MODULE(dcons_crom, firewire, dcons_crom_driver,
-                                       dcons_crom_devclass, 0, 0);
+DRIVER_MODULE(dcons_crom, firewire, dcons_crom_driver, 0, 0);
 MODULE_VERSION(dcons_crom, 1);
 MODULE_DEPEND(dcons_crom, dcons,
        DCONS_VERSION, DCONS_VERSION, DCONS_VERSION);

Reply via email to