Date: Mon, 9 May 2022 19:22:58 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: bd53cac13dfd - main - nfsmb: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205091922.249JMw22085572@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205091922.249JMw22085572>