git: d20c52b676e4 - main - vge: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:25:05 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=d20c52b676e4fde4cfdd93ca8d76b9536c8d4609 commit d20c52b676e4fde4cfdd93ca8d76b9536c8d4609 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 vge: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/vge/if_vge.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/vge/if_vge.c b/sys/dev/vge/if_vge.c index 4cc3361ada2c..a103c23a86c4 100644 --- a/sys/dev/vge/if_vge.c +++ b/sys/dev/vge/if_vge.c @@ -228,9 +228,7 @@ static driver_t vge_driver = { sizeof(struct vge_softc) }; -static devclass_t vge_devclass; - -DRIVER_MODULE(vge, pci, vge_driver, vge_devclass, 0, 0); +DRIVER_MODULE(vge, pci, vge_driver, 0, 0); DRIVER_MODULE(miibus, vge, miibus_driver, 0, 0); #ifdef VGE_EEPROM