git: bd53cac13dfd - main - nfsmb: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:22:58 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=bd53cac13dfdfdcf08d8ff32e55b9dd322992631 commit bd53cac13dfdfdcf08d8ff32e55b9dd322992631 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:02 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:02 +0000 nfsmb: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/nfsmb/nfsmb.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/nfsmb/nfsmb.c b/sys/dev/nfsmb/nfsmb.c index dbd7b0da4b16..1ea1e24da39e 100644 --- a/sys/dev/nfsmb/nfsmb.c +++ b/sys/dev/nfsmb/nfsmb.c @@ -632,8 +632,6 @@ static device_method_t nfsmbsub_methods[] = { { 0, 0 } }; -static devclass_t nfsmb_devclass; - static driver_t nfsmb_driver = { "nfsmb", nfsmb_methods, @@ -646,8 +644,8 @@ static driver_t nfsmbsub_driver = { sizeof(struct nfsmb_softc), }; -DRIVER_MODULE(nfsmb, pci, nfsmb_driver, nfsmb_devclass, 0, 0); -DRIVER_MODULE(nfsmb, nfsmb, nfsmbsub_driver, nfsmb_devclass, 0, 0); +DRIVER_MODULE(nfsmb, pci, nfsmb_driver, 0, 0); +DRIVER_MODULE(nfsmb, nfsmb, nfsmbsub_driver, 0, 0); DRIVER_MODULE(smbus, nfsmb, smbus_driver, 0, 0); MODULE_DEPEND(nfsmb, pci, 1, 1, 1);