git: e7451a6b82b3 - main - nge: Remove unused devclass argument to DRIVER_MODULE.

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

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

commit e7451a6b82b3ce289161f6d60e7c650d159eba7b
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-06 22:46:55 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:46:55 +0000

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

diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c
index fa92857554cf..9e709dfbf297 100644
--- a/sys/dev/nge/if_nge.c
+++ b/sys/dev/nge/if_nge.c
@@ -240,9 +240,7 @@ static driver_t nge_driver = {
 	sizeof(struct nge_softc)
 };
 
-static devclass_t nge_devclass;
-
-DRIVER_MODULE(nge, pci, nge_driver, nge_devclass, 0, 0);
+DRIVER_MODULE(nge, pci, nge_driver, 0, 0);
 DRIVER_MODULE(miibus, nge, miibus_driver, 0, 0);
 
 #define NGE_SETBIT(sc, reg, x)				\