git: 27f3a73fd0b1 - main - vr: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:25:10 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=27f3a73fd0b18e3edfb1357424180458ff25c96c commit 27f3a73fd0b18e3edfb1357424180458ff25c96c 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 vr: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/vr/if_vr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/vr/if_vr.c b/sys/dev/vr/if_vr.c index a9d427344701..99729cb7b9e6 100644 --- a/sys/dev/vr/if_vr.c +++ b/sys/dev/vr/if_vr.c @@ -235,9 +235,7 @@ static driver_t vr_driver = { sizeof(struct vr_softc) }; -static devclass_t vr_devclass; - -DRIVER_MODULE(vr, pci, vr_driver, vr_devclass, 0, 0); +DRIVER_MODULE(vr, pci, vr_driver, 0, 0); DRIVER_MODULE(miibus, vr, miibus_driver, 0, 0); static int