git: 2f87208e2dd3 - main - qlnx/qlxgb/qlxgbe/qlxge: Remove unused devclass arguments to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 09 May 2022 19:23:23 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=2f87208e2dd3d7cf203f2a08df95e326e9b79675

commit 2f87208e2dd3d7cf203f2a08df95e326e9b79675
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 19:22:03 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 19:22:03 +0000

    qlnx/qlxgb/qlxgbe/qlxge: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/dev/qlnx/qlnxe/qlnx_os.c | 7 ++-----
 sys/dev/qlxgb/qla_os.c       | 4 +---
 sys/dev/qlxgbe/ql_os.c       | 4 +---
 sys/dev/qlxge/qls_os.c       | 4 +---
 4 files changed, 5 insertions(+), 14 deletions(-)

diff --git a/sys/dev/qlnx/qlnxe/qlnx_os.c b/sys/dev/qlnx/qlnxe/qlnx_os.c
index 268e60159b8f..80056215f7a9 100644
--- a/sys/dev/qlnx/qlnxe/qlnx_os.c
+++ b/sys/dev/qlnx/qlnxe/qlnx_os.c
@@ -196,10 +196,8 @@ static driver_t qlnx_pci_driver = {
 	"ql", qlnx_pci_methods, sizeof (qlnx_host_t),
 };
 
-static devclass_t qlnx_devclass;
-
 MODULE_VERSION(if_qlnxe,1);
-DRIVER_MODULE(if_qlnxe, pci, qlnx_pci_driver, qlnx_devclass, 0, 0);
+DRIVER_MODULE(if_qlnxe, pci, qlnx_pci_driver, 0, 0);
 
 MODULE_DEPEND(if_qlnxe, pci, 1, 1, 1);
 MODULE_DEPEND(if_qlnxe, ether, 1, 1, 1);
@@ -218,9 +216,8 @@ static driver_t qlnxv_pci_driver = {
 	"ql", qlnxv_pci_methods, sizeof (qlnx_host_t),
 };
 
-static devclass_t qlnxv_devclass;
 MODULE_VERSION(if_qlnxev,1);
-DRIVER_MODULE(if_qlnxev, pci, qlnxv_pci_driver, qlnxv_devclass, 0, 0);
+DRIVER_MODULE(if_qlnxev, pci, qlnxv_pci_driver, 0, 0);
 
 MODULE_DEPEND(if_qlnxev, pci, 1, 1, 1);
 MODULE_DEPEND(if_qlnxev, ether, 1, 1, 1);
diff --git a/sys/dev/qlxgb/qla_os.c b/sys/dev/qlxgb/qla_os.c
index bd56eb458c70..ca5b2ec44a3a 100644
--- a/sys/dev/qlxgb/qla_os.c
+++ b/sys/dev/qlxgb/qla_os.c
@@ -102,9 +102,7 @@ static driver_t qla_pci_driver = {
 	"ql", qla_pci_methods, sizeof (qla_host_t),
 };
 
-static devclass_t qla80xx_devclass;
-
-DRIVER_MODULE(qla80xx, pci, qla_pci_driver, qla80xx_devclass, 0, 0);
+DRIVER_MODULE(qla80xx, pci, qla_pci_driver, 0, 0);
 
 MODULE_DEPEND(qla80xx, pci, 1, 1, 1);
 MODULE_DEPEND(qla80xx, ether, 1, 1, 1);
diff --git a/sys/dev/qlxgbe/ql_os.c b/sys/dev/qlxgbe/ql_os.c
index 62289eb878e2..f0cee6e080b1 100644
--- a/sys/dev/qlxgbe/ql_os.c
+++ b/sys/dev/qlxgbe/ql_os.c
@@ -115,9 +115,7 @@ static driver_t qla_pci_driver = {
 	"ql", qla_pci_methods, sizeof (qla_host_t),
 };
 
-static devclass_t qla83xx_devclass;
-
-DRIVER_MODULE(qla83xx, pci, qla_pci_driver, qla83xx_devclass, 0, 0);
+DRIVER_MODULE(qla83xx, pci, qla_pci_driver, 0, 0);
 
 MODULE_DEPEND(qla83xx, pci, 1, 1, 1);
 MODULE_DEPEND(qla83xx, ether, 1, 1, 1);
diff --git a/sys/dev/qlxge/qls_os.c b/sys/dev/qlxge/qls_os.c
index 7749cd10150c..d9404b92dbba 100644
--- a/sys/dev/qlxge/qls_os.c
+++ b/sys/dev/qlxge/qls_os.c
@@ -108,9 +108,7 @@ static driver_t qla_pci_driver = {
 	"ql", qla_pci_methods, sizeof (qla_host_t),
 };
 
-static devclass_t qla8000_devclass;
-
-DRIVER_MODULE(qla8000, pci, qla_pci_driver, qla8000_devclass, 0, 0);
+DRIVER_MODULE(qla8000, pci, qla_pci_driver, 0, 0);
 
 MODULE_DEPEND(qla8000, pci, 1, 1, 1);
 MODULE_DEPEND(qla8000, ether, 1, 1, 1);