git: 3c77ca68898b - main - cesa: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:32 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=3c77ca68898beb3a20a339d383b4657b004ac0be
commit 3c77ca68898beb3a20a339d383b4657b004ac0be
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-10 17:21:39 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-10 17:21:39 +0000
cesa: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/cesa/cesa.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/dev/cesa/cesa.c b/sys/dev/cesa/cesa.c
index 7ede703adbb2..64d022a994a3 100644
--- a/sys/dev/cesa/cesa.c
+++ b/sys/dev/cesa/cesa.c
@@ -112,9 +112,8 @@ static driver_t cesa_driver = {
cesa_methods,
sizeof (struct cesa_softc)
};
-static devclass_t cesa_devclass;
-DRIVER_MODULE(cesa, simplebus, cesa_driver, cesa_devclass, 0, 0);
+DRIVER_MODULE(cesa, simplebus, cesa_driver, 0, 0);
MODULE_DEPEND(cesa, crypto, 1, 1, 1);
static void