Date: Fri, 6 May 2022 23:24:42 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: aed8cdc8cd9a - main - ral: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205062324.246NOgb8074908@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=aed8cdc8cd9a810e67d9374d1a18cb27771ef2cc commit aed8cdc8cd9a810e67d9374d1a18cb27771ef2cc Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-06 22:46:55 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:46:55 +0000 ral: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/ral/if_ral_pci.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/ral/if_ral_pci.c b/sys/dev/ral/if_ral_pci.c index e1a89bde27b5..cde3858ec687 100644 --- a/sys/dev/ral/if_ral_pci.c +++ b/sys/dev/ral/if_ral_pci.c @@ -176,9 +176,7 @@ static driver_t ral_pci_driver = { sizeof (struct ral_pci_softc) }; -static devclass_t ral_devclass; - -DRIVER_MODULE(ral, pci, ral_pci_driver, ral_devclass, NULL, NULL); +DRIVER_MODULE(ral, pci, ral_pci_driver, NULL, NULL); MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, ral, ral_pci_ids, nitems(ral_pci_ids) - 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205062324.246NOgb8074908>