git: c4cacb20f97c - main - sym: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:24:57 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c4cacb20f97ca5c1bb4a2b7d31f09b2161800ceb commit c4cacb20f97ca5c1bb4a2b7d31f09b2161800ceb 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 sym: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/sym/sym_hipd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c index 35481994d292..4f6ea809ba11 100644 --- a/sys/dev/sym/sym_hipd.c +++ b/sys/dev/sym/sym_hipd.c @@ -8242,9 +8242,7 @@ static driver_t sym_pci_driver = { 1 /* no softc */ }; -static devclass_t sym_devclass; - -DRIVER_MODULE(sym, pci, sym_pci_driver, sym_devclass, NULL, NULL); +DRIVER_MODULE(sym, pci, sym_pci_driver, NULL, NULL); MODULE_DEPEND(sym, cam, 1, 1, 1); MODULE_DEPEND(sym, pci, 1, 1, 1);