git: 1cd1672f86dd - main - lio: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:06 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=1cd1672f86dda4bf2928e808a47703b3f59c2d78 commit 1cd1672f86dda4bf2928e808a47703b3f59c2d78 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:02 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:02 +0000 lio: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/liquidio/lio_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/liquidio/lio_main.c b/sys/dev/liquidio/lio_main.c index 79cf7105bed3..4406b86f55d8 100644 --- a/sys/dev/liquidio/lio_main.c +++ b/sys/dev/liquidio/lio_main.c @@ -412,8 +412,7 @@ static driver_t lio_driver = { LIO_DRV_NAME, lio_methods, sizeof(struct octeon_device), }; -devclass_t lio_devclass; -DRIVER_MODULE(lio, pci, lio_driver, lio_devclass, lio_event, 0); +DRIVER_MODULE(lio, pci, lio_driver, lio_event, NULL); MODULE_DEPEND(lio, pci, 1, 1, 1); MODULE_DEPEND(lio, ether, 1, 1, 1);