git: bce4876eb49c - main - sec: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:50 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=bce4876eb49c10c86efd2433578d1ab6de2b0c9b
commit bce4876eb49c10c86efd2433578d1ab6de2b0c9b
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-10 17:21:39 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-10 17:21:39 +0000
sec: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/sec/sec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/dev/sec/sec.c b/sys/dev/sec/sec.c
index f485d932727b..db8e39a84d5c 100644
--- a/sys/dev/sec/sec.c
+++ b/sys/dev/sec/sec.c
@@ -138,8 +138,7 @@ static driver_t sec_driver = {
sizeof(struct sec_softc),
};
-static devclass_t sec_devclass;
-DRIVER_MODULE(sec, simplebus, sec_driver, sec_devclass, 0, 0);
+DRIVER_MODULE(sec, simplebus, sec_driver, 0, 0);
MODULE_DEPEND(sec, crypto, 1, 1, 1);
static struct sec_eu_methods sec_eus[] = {