Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2022 21:48:02 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: e55d0536b475 - main - dwc: Remove unused devclass argument to DRIVER_MODULE.
Message-ID:  <202205092148.249Lm2Qw080471@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=e55d0536b47546937717db70b23e1519194dcf85

commit e55d0536b47546937717db70b23e1519194dcf85
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 21:26:45 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 21:26:45 +0000

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

diff --git a/sys/dev/dwc/if_dwc.c b/sys/dev/dwc/if_dwc.c
index e676ef64bacc..d2d73f2d313c 100644
--- a/sys/dev/dwc/if_dwc.c
+++ b/sys/dev/dwc/if_dwc.c
@@ -1727,9 +1727,7 @@ driver_t dwc_driver = {
 	sizeof(struct dwc_softc),
 };
 
-static devclass_t dwc_devclass;
-
-DRIVER_MODULE(dwc, simplebus, dwc_driver, dwc_devclass, 0, 0);
+DRIVER_MODULE(dwc, simplebus, dwc_driver, 0, 0);
 DRIVER_MODULE(miibus, dwc, miibus_driver, 0, 0);
 
 MODULE_DEPEND(dwc, ether, 1, 1, 1);



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