git: d628b8c9e7d5 - main - bge: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:43:06 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=d628b8c9e7d5de6ec2daf63bb174f52305a79b00 commit d628b8c9e7d5de6ec2daf63bb174f52305a79b00 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-19 21:02:45 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:29 +0000 bge: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/bge/if_bge.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index 2fc96db112a8..ef1674783441 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -532,9 +532,7 @@ static driver_t bge_driver = { sizeof(struct bge_softc) }; -static devclass_t bge_devclass; - -DRIVER_MODULE(bge, pci, bge_driver, bge_devclass, 0, 0); +DRIVER_MODULE(bge, pci, bge_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device", pci, bge, bge_devs, nitems(bge_devs) - 1); DRIVER_MODULE(miibus, bge, miibus_driver, 0, 0);