git: b64711b6e760 - main - ocs_fc: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:24:36 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=b64711b6e760cfa1834383c61a60acf547b15271
commit b64711b6e760cfa1834383c61a60acf547b15271
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-06 22:46:55 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:46:55 +0000
ocs_fc: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/ocs_fc/ocs_pci.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sys/dev/ocs_fc/ocs_pci.c b/sys/dev/ocs_fc/ocs_pci.c
index f50172fdada6..91a76404652c 100644
--- a/sys/dev/ocs_fc/ocs_pci.c
+++ b/sys/dev/ocs_fc/ocs_pci.c
@@ -1004,7 +1004,5 @@ static driver_t ocs_driver = {
sizeof(struct ocs_softc)
};
-static devclass_t ocs_devclass;
-
-DRIVER_MODULE(ocs_fc, pci, ocs_driver, ocs_devclass, 0, 0);
+DRIVER_MODULE(ocs_fc, pci, ocs_driver, 0, 0);
MODULE_VERSION(ocs_fc, 1);