git: 578a173f2218 - main - qat: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:22 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=578a173f221892b5a95b74bcfc2e4f47aaf05660 commit 578a173f221892b5a95b74bcfc2e4f47aaf05660 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:03 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:03 +0000 qat: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/qat/qat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/qat/qat.c b/sys/dev/qat/qat.c index dddfe4da1083..02da9024de64 100644 --- a/sys/dev/qat/qat.c +++ b/sys/dev/qat/qat.c @@ -2282,15 +2282,13 @@ static device_method_t qat_methods[] = { DEVMETHOD_END }; -static devclass_t qat_devclass; - static driver_t qat_driver = { .name = "qat", .methods = qat_methods, .size = sizeof(struct qat_softc), }; -DRIVER_MODULE(qat, pci, qat_driver, qat_devclass, 0, 0); +DRIVER_MODULE(qat, pci, qat_driver, 0, 0); MODULE_VERSION(qat, 1); MODULE_DEPEND(qat, crypto, 1, 1, 1); MODULE_DEPEND(qat, pci, 1, 1, 1);