git: 478c66fd8e14 - main - ccr: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:22:45 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=478c66fd8e14a1cf22240a6c67623e25cbdc7014 commit 478c66fd8e14a1cf22240a6c67623e25cbdc7014 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 ccr: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/cxgbe/crypto/t4_crypto.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/cxgbe/crypto/t4_crypto.c b/sys/dev/cxgbe/crypto/t4_crypto.c index d7e48e9cfdce..81f4f670a159 100644 --- a/sys/dev/cxgbe/crypto/t4_crypto.c +++ b/sys/dev/cxgbe/crypto/t4_crypto.c @@ -2747,9 +2747,7 @@ static driver_t ccr_driver = { sizeof(struct ccr_softc) }; -static devclass_t ccr_devclass; - -DRIVER_MODULE(ccr, t6nex, ccr_driver, ccr_devclass, ccr_modevent, NULL); +DRIVER_MODULE(ccr, t6nex, ccr_driver, ccr_modevent, NULL); MODULE_VERSION(ccr, 1); MODULE_DEPEND(ccr, crypto, 1, 1, 1); MODULE_DEPEND(ccr, t6nex, 1, 1, 1);