Date: Fri, 6 May 2022 23:25:13 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: 51776a92ca4a - main - wpi: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205062325.246NPDho075592@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=51776a92ca4abc726bda5749a4255876dbce550e commit 51776a92ca4abc726bda5749a4255876dbce550e Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-06 22:46:57 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:46:57 +0000 wpi: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/wpi/if_wpi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c index 3d4e80ab61ad..8d8dca58cd44 100644 --- a/sys/dev/wpi/if_wpi.c +++ b/sys/dev/wpi/if_wpi.c @@ -302,9 +302,8 @@ static driver_t wpi_driver = { wpi_methods, sizeof (struct wpi_softc) }; -static devclass_t wpi_devclass; -DRIVER_MODULE(wpi, pci, wpi_driver, wpi_devclass, NULL, NULL); +DRIVER_MODULE(wpi, pci, wpi_driver, NULL, NULL); MODULE_VERSION(wpi, 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205062325.246NPDho075592>