git: f3498d7b663a - main - alpm: Remove unused devclass argument to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 09 May 2022 19:22:53 UTC
The branch main has been updated by jhb:

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

commit f3498d7b663aa896d0be43a62911638d36519eb6
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 19:22:01 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 19:22:01 +0000

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

diff --git a/sys/dev/alpm/alpm.c b/sys/dev/alpm/alpm.c
index 8e41706c12a0..ae260f0bd7f8 100644
--- a/sys/dev/alpm/alpm.c
+++ b/sys/dev/alpm/alpm.c
@@ -627,8 +627,6 @@ error:
 	return (error);
 }
 
-static devclass_t alpm_devclass;
-
 static device_method_t alpm_methods[] = {
 	/* device interface */
 	DEVMETHOD(device_probe,		alpm_probe),
@@ -655,7 +653,7 @@ static driver_t alpm_driver = {
 	sizeof(struct alpm_softc)
 };
 
-DRIVER_MODULE(alpm, pci, alpm_driver, alpm_devclass, 0, 0);
+DRIVER_MODULE(alpm, pci, alpm_driver, 0, 0);
 DRIVER_MODULE(smbus, alpm, smbus_driver, 0, 0);
 MODULE_DEPEND(alpm, pci, 1, 1, 1);
 MODULE_DEPEND(alpm, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);