git: f451bab2b29e - main - sge: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:24:47 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=f451bab2b29eda079e0c4dbdb75cdc98ee090a3f commit f451bab2b29eda079e0c4dbdb75cdc98ee090a3f Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-06 22:46:56 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:46:56 +0000 sge: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/sge/if_sge.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/sge/if_sge.c b/sys/dev/sge/if_sge.c index a75276b83085..ae2a9760e031 100644 --- a/sys/dev/sge/if_sge.c +++ b/sys/dev/sge/if_sge.c @@ -173,9 +173,7 @@ static driver_t sge_driver = { "sge", sge_methods, sizeof(struct sge_softc) }; -static devclass_t sge_devclass; - -DRIVER_MODULE(sge, pci, sge_driver, sge_devclass, 0, 0); +DRIVER_MODULE(sge, pci, sge_driver, 0, 0); DRIVER_MODULE(miibus, sge, miibus_driver, 0, 0); /*