git: 4cdbea973440 - main - jme: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:43:36 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=4cdbea973440db6a936cc618f0a020f657754c66
commit 4cdbea973440db6a936cc618f0a020f657754c66
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-20 16:45:57 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:39:31 +0000
jme: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/jme/if_jme.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sys/dev/jme/if_jme.c b/sys/dev/jme/if_jme.c
index 90ecf4bbec58..45a8444dd6e3 100644
--- a/sys/dev/jme/if_jme.c
+++ b/sys/dev/jme/if_jme.c
@@ -190,9 +190,7 @@ static driver_t jme_driver = {
sizeof(struct jme_softc)
};
-static devclass_t jme_devclass;
-
-DRIVER_MODULE(jme, pci, jme_driver, jme_devclass, 0, 0);
+DRIVER_MODULE(jme, pci, jme_driver, 0, 0);
DRIVER_MODULE(miibus, jme, miibus_driver, 0, 0);
static struct resource_spec jme_res_spec_mem[] = {