Date: Fri, 6 May 2022 23:25:35 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: 07127ef86f27 - main - smartpqi: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205062325.246NPZQa076072@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=07127ef86f270ac556e668a601f49fa433577980 commit 07127ef86f270ac556e668a601f49fa433577980 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-06 22:46:59 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:46:59 +0000 smartpqi: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/smartpqi/smartpqi_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/smartpqi/smartpqi_main.c b/sys/dev/smartpqi/smartpqi_main.c index 97747be50d24..88f1906060c9 100644 --- a/sys/dev/smartpqi/smartpqi_main.c +++ b/sys/dev/smartpqi/smartpqi_main.c @@ -577,13 +577,11 @@ static device_method_t pqi_methods[] = { { 0, 0 } }; -static devclass_t pqi_devclass; - static driver_t smartpqi_pci_driver = { "smartpqi", pqi_methods, sizeof(struct pqisrc_softstate) }; -DRIVER_MODULE(smartpqi, pci, smartpqi_pci_driver, pqi_devclass, 0, 0); +DRIVER_MODULE(smartpqi, pci, smartpqi_pci_driver, 0, 0); MODULE_DEPEND(smartpqi, pci, 1, 1, 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205062325.246NPZQa076072>