git: 9c5f6793dffb - main - sfxge: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:28 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=9c5f6793dffb106197295dabbf6b3b6d96b878b0 commit 9c5f6793dffb106197295dabbf6b3b6d96b878b0 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:04 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:04 +0000 sfxge: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/sfxge/sfxge.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/sfxge/sfxge.c b/sys/dev/sfxge/sfxge.c index 62daadf35ae5..ad7a2b276fbd 100644 --- a/sys/dev/sfxge/sfxge.c +++ b/sys/dev/sfxge/sfxge.c @@ -1200,12 +1200,10 @@ static device_method_t sfxge_methods[] = { DEVMETHOD_END }; -static devclass_t sfxge_devclass; - static driver_t sfxge_driver = { "sfxge", sfxge_methods, sizeof(struct sfxge_softc) }; -DRIVER_MODULE(sfxge, pci, sfxge_driver, sfxge_devclass, 0, 0); +DRIVER_MODULE(sfxge, pci, sfxge_driver, 0, 0);