Date: Mon, 9 May 2022 21:47:23 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: 9199ef40ea66 - main - pst: Remove unused devclass arguments to DRIVER_MODULE. Message-ID: <202205092147.249LlN52079585@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=9199ef40ea66def086ed65645f17b7d73a666774 commit 9199ef40ea66def086ed65645f17b7d73a666774 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 21:26:43 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 21:26:43 +0000 pst: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/pst/pst-pci.c | 4 +--- sys/dev/pst/pst-raid.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/dev/pst/pst-pci.c b/sys/dev/pst/pst-pci.c index 631f3f64cae1..e51070c65923 100644 --- a/sys/dev/pst/pst-pci.c +++ b/sys/dev/pst/pst-pci.c @@ -129,6 +129,4 @@ static driver_t pst_pci_driver = { sizeof(struct iop_softc), }; -static devclass_t pst_pci_devclass; - -DRIVER_MODULE(pstpci, pci, pst_pci_driver, pst_pci_devclass, 0, 0); +DRIVER_MODULE(pstpci, pci, pst_pci_driver, 0, 0); diff --git a/sys/dev/pst/pst-raid.c b/sys/dev/pst/pst-raid.c index 809a389c76bc..e7e212da4851 100644 --- a/sys/dev/pst/pst-raid.c +++ b/sys/dev/pst/pst-raid.c @@ -372,6 +372,4 @@ static driver_t pst_driver = { sizeof(struct pst_softc), }; -static devclass_t pst_devclass; - -DRIVER_MODULE(pst, pstpci, pst_driver, pst_devclass, 0, 0); +DRIVER_MODULE(pst, pstpci, pst_driver, 0, 0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205092147.249LlN52079585>