git: e55d0536b475 - main - dwc: Remove unused devclass argument to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 09 May 2022 21:48:02 UTC
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);