git: 64d3221c6112 - main - bnxt: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:22:34 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=64d3221c61122b9a6a73f107c8145e92b47eb4c8 commit 64d3221c61122b9a6a73f107c8145e92b47eb4c8 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:00 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:00 +0000 bnxt: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/bnxt/if_bnxt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/bnxt/if_bnxt.c b/sys/dev/bnxt/if_bnxt.c index 1805a1f24f93..a2ec25a9ad31 100644 --- a/sys/dev/bnxt/if_bnxt.c +++ b/sys/dev/bnxt/if_bnxt.c @@ -237,8 +237,7 @@ static driver_t bnxt_driver = { "bnxt", bnxt_methods, sizeof(struct bnxt_softc), }; -devclass_t bnxt_devclass; -DRIVER_MODULE(bnxt, pci, bnxt_driver, bnxt_devclass, 0, 0); +DRIVER_MODULE(bnxt, pci, bnxt_driver, 0, 0); MODULE_DEPEND(bnxt, pci, 1, 1, 1); MODULE_DEPEND(bnxt, ether, 1, 1, 1);