Date: Mon, 9 May 2022 19:22:34 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 64d3221c6112 - main - bnxt: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205091922.249JMY5B085043@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205091922.249JMY5B085043>