The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=44031900628a72b330bd6616f1dda5bc57927983
commit 44031900628a72b330bd6616f1dda5bc57927983 Author: John Baldwin <j...@freebsd.org> AuthorDate: 2022-05-06 22:46:59 +0000 Commit: John Baldwin <j...@freebsd.org> CommitDate: 2022-05-06 22:46:59 +0000 vmd: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/vmd/vmd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/vmd/vmd.c b/sys/dev/vmd/vmd.c index 72146a7d16df..23aeeb6cdd68 100644 --- a/sys/dev/vmd/vmd.c +++ b/sys/dev/vmd/vmd.c @@ -626,9 +626,7 @@ static device_method_t vmd_pci_methods[] = { DEVMETHOD_END }; -static devclass_t pcib_devclass; - DEFINE_CLASS_0(pcib, vmd_pci_driver, vmd_pci_methods, sizeof(struct vmd_softc)); -DRIVER_MODULE(vmd, pci, vmd_pci_driver, pcib_devclass, NULL, NULL); +DRIVER_MODULE(vmd, pci, vmd_pci_driver, NULL, NULL); MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, vmd, vmd_devs, nitems(vmd_devs) - 1);