git: 22a99a52728b - main - age: Remove unused devclass argument to DRIVER_MODULE.

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

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

commit 22a99a52728bbaa1da5fca182573dd5bcf3f1600
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-19 20:37:41 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:39:28 +0000

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

diff --git a/sys/dev/age/if_age.c b/sys/dev/age/if_age.c
index a4b763a1d748..29853c785efa 100644
--- a/sys/dev/age/if_age.c
+++ b/sys/dev/age/if_age.c
@@ -178,9 +178,7 @@ static driver_t age_driver = {
 	sizeof(struct age_softc)
 };
 
-static devclass_t age_devclass;
-
-DRIVER_MODULE(age, pci, age_driver, age_devclass, 0, 0);
+DRIVER_MODULE(age, pci, age_driver, 0, 0);
 MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, age, age_devs,
     nitems(age_devs));
 DRIVER_MODULE(miibus, age, miibus_driver, 0, 0);