git: a15fbf0ca52b - main - safe: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:26 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=a15fbf0ca52be0e83321aeb4d9da97f7546fb8c0 commit a15fbf0ca52be0e83321aeb4d9da97f7546fb8c0 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 safe: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/safe/safe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/safe/safe.c b/sys/dev/safe/safe.c index 2bebac01519e..95114e253809 100644 --- a/sys/dev/safe/safe.c +++ b/sys/dev/safe/safe.c @@ -108,14 +108,14 @@ static device_method_t safe_methods[] = { DEVMETHOD_END }; + static driver_t safe_driver = { "safe", safe_methods, sizeof (struct safe_softc) }; -static devclass_t safe_devclass; -DRIVER_MODULE(safe, pci, safe_driver, safe_devclass, 0, 0); +DRIVER_MODULE(safe, pci, safe_driver, 0, 0); MODULE_DEPEND(safe, crypto, 1, 1, 1); #ifdef SAFE_RNDTEST MODULE_DEPEND(safe, rndtest, 1, 1, 1);