Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2022 17:36:34 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: dcb580367497 - main - dme: Remove unused devclass argument to DRIVER_MODULE.
Message-ID:  <202205101736.24AHaYOk099279@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

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

commit dcb580367497c1fe8326361b207a4ddb7afa1669
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-10 17:21:39 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-10 17:21:39 +0000

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

diff --git a/sys/dev/dme/if_dme.c b/sys/dev/dme/if_dme.c
index 4f989d44194e..c518fa98af0f 100644
--- a/sys/dev/dme/if_dme.c
+++ b/sys/dev/dme/if_dme.c
@@ -1053,10 +1053,8 @@ static driver_t dme_driver = {
 	sizeof(struct dme_softc)
 };
 
-static devclass_t dme_devclass;
-
 MODULE_DEPEND(dme, ether, 1, 1, 1);
 MODULE_DEPEND(dme, miibus, 1, 1, 1);
-DRIVER_MODULE(dme, simplebus, dme_driver, dme_devclass, 0, 0);
+DRIVER_MODULE(dme, simplebus, dme_driver, 0, 0);
 DRIVER_MODULE(miibus, dme, miibus_driver, 0, 0);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205101736.24AHaYOk099279>