git: 9a0b43458d93 - main - sis: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:24:49 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=9a0b43458d93a161ef75c9fbc61c9217fb8473a8 commit 9a0b43458d93a161ef75c9fbc61c9217fb8473a8 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 sis: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/sis/if_sis.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/sis/if_sis.c b/sys/dev/sis/if_sis.c index 61d3f8b72042..081b11c863a0 100644 --- a/sys/dev/sis/if_sis.c +++ b/sys/dev/sis/if_sis.c @@ -2410,7 +2410,5 @@ static driver_t sis_driver = { sizeof(struct sis_softc) }; -static devclass_t sis_devclass; - -DRIVER_MODULE(sis, pci, sis_driver, sis_devclass, 0, 0); +DRIVER_MODULE(sis, pci, sis_driver, 0, 0); DRIVER_MODULE(miibus, sis, miibus_driver, 0, 0);