git: 43df074d9c8b - main - vmware: Remove unused devclass arguments to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 06 May 2022 23:25:08 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=43df074d9c8b48e165946d37a22d39e7e00d16e3

commit 43df074d9c8b48e165946d37a22d39e7e00d16e3
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-06 22:46:57 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:46:57 +0000

    vmware: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/dev/vmware/pvscsi/pvscsi.c  | 3 +--
 sys/dev/vmware/vmci/vmci.c      | 3 +--
 sys/dev/vmware/vmxnet3/if_vmx.c | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/sys/dev/vmware/pvscsi/pvscsi.c b/sys/dev/vmware/pvscsi/pvscsi.c
index 6d80d1f0da68..1ba4777da906 100644
--- a/sys/dev/vmware/pvscsi/pvscsi.c
+++ b/sys/dev/vmware/pvscsi/pvscsi.c
@@ -1794,8 +1794,7 @@ static driver_t pvscsi_driver = {
 	"pvscsi", pvscsi_methods, sizeof(struct pvscsi_softc)
 };
 
-static devclass_t pvscsi_devclass;
-DRIVER_MODULE(pvscsi, pci, pvscsi_driver, pvscsi_devclass, 0, 0);
+DRIVER_MODULE(pvscsi, pci, pvscsi_driver, 0, 0);
 
 MODULE_DEPEND(pvscsi, pci, 1, 1, 1);
 MODULE_DEPEND(pvscsi, cam, 1, 1, 1);
diff --git a/sys/dev/vmware/vmci/vmci.c b/sys/dev/vmware/vmci/vmci.c
index 8adcb7f532b7..c13450c8b9ad 100644
--- a/sys/dev/vmware/vmci/vmci.c
+++ b/sys/dev/vmware/vmci/vmci.c
@@ -70,8 +70,7 @@ static driver_t vmci_driver = {
 	"vmci", vmci_methods, sizeof(struct vmci_softc)
 };
 
-static devclass_t vmci_devclass;
-DRIVER_MODULE(vmci, pci, vmci_driver, vmci_devclass, 0, 0);
+DRIVER_MODULE(vmci, pci, vmci_driver, 0, 0);
 MODULE_VERSION(vmci, VMCI_VERSION);
 const struct {
 	uint16_t vendor;
diff --git a/sys/dev/vmware/vmxnet3/if_vmx.c b/sys/dev/vmware/vmxnet3/if_vmx.c
index 6f1ed1e58ca7..6896bd016f00 100644
--- a/sys/dev/vmware/vmxnet3/if_vmx.c
+++ b/sys/dev/vmware/vmxnet3/if_vmx.c
@@ -207,8 +207,7 @@ static driver_t vmxnet3_driver = {
 	"vmx", vmxnet3_methods, sizeof(struct vmxnet3_softc)
 };
 
-static devclass_t vmxnet3_devclass;
-DRIVER_MODULE(vmx, pci, vmxnet3_driver, vmxnet3_devclass, 0, 0);
+DRIVER_MODULE(vmx, pci, vmxnet3_driver, 0, 0);
 IFLIB_PNP_INFO(pci, vmx, vmxnet3_vendor_info_array);
 MODULE_VERSION(vmx, 2);