git: e739b0adf5f5 - main - hifn: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:22:51 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=e739b0adf5f5d663102607043b3a9a511df34a83
commit e739b0adf5f5d663102607043b3a9a511df34a83
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 19:22:01 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 19:22:01 +0000
hifn: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/hifn/hifn7751.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/dev/hifn/hifn7751.c b/sys/dev/hifn/hifn7751.c
index 033ef7edf10d..0b1d79dc4e1e 100644
--- a/sys/dev/hifn/hifn7751.c
+++ b/sys/dev/hifn/hifn7751.c
@@ -125,14 +125,14 @@ static device_method_t hifn_methods[] = {
DEVMETHOD_END
};
+
static driver_t hifn_driver = {
"hifn",
hifn_methods,
sizeof (struct hifn_softc)
};
-static devclass_t hifn_devclass;
-DRIVER_MODULE(hifn, pci, hifn_driver, hifn_devclass, 0, 0);
+DRIVER_MODULE(hifn, pci, hifn_driver, 0, 0);
MODULE_DEPEND(hifn, crypto, 1, 1, 1);
#ifdef HIFN_RNDTEST
MODULE_DEPEND(hifn, rndtest, 1, 1, 1);