git: 9a648e1e8747 - main - lge: Remove unused devclass argument to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 06 May 2022 22:43:38 UTC
The branch main has been updated by jhb:

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

commit 9a648e1e87478e52c356d9980721c5be437cbe5b
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-20 16:47:49 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:39:31 +0000

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

diff --git a/sys/dev/lge/if_lge.c b/sys/dev/lge/if_lge.c
index 8d0f0245229a..e3567e642d6f 100644
--- a/sys/dev/lge/if_lge.c
+++ b/sys/dev/lge/if_lge.c
@@ -187,9 +187,7 @@ static driver_t lge_driver = {
 	sizeof(struct lge_softc)
 };
 
-static devclass_t lge_devclass;
-
-DRIVER_MODULE(lge, pci, lge_driver, lge_devclass, 0, 0);
+DRIVER_MODULE(lge, pci, lge_driver, 0, 0);
 DRIVER_MODULE(miibus, lge, miibus_driver, 0, 0);
 MODULE_DEPEND(lge, pci, 1, 1, 1);
 MODULE_DEPEND(lge, ether, 1, 1, 1);