git: 3d2549ce8a32 - main - arm64 intel: Remove unused devclass arguments to DRIVER_MODULE.

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

URL: https://cgit.FreeBSD.org/src/commit/?id=3d2549ce8a32df99745784fb2807865e225fe5cc

commit 3d2549ce8a32df99745784fb2807865e225fe5cc
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 21:26:45 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 21:26:45 +0000

    arm64 intel: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/arm64/intel/firmware.c               | 6 ++----
 sys/arm64/intel/stratix10-soc-fpga-mgr.c | 5 +----
 sys/arm64/intel/stratix10-svc.c          | 6 ++----
 3 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/sys/arm64/intel/firmware.c b/sys/arm64/intel/firmware.c
index 083caaf94755..5c4470fa4a98 100644
--- a/sys/arm64/intel/firmware.c
+++ b/sys/arm64/intel/firmware.c
@@ -115,8 +115,6 @@ static device_method_t firmware_methods[] = {
 DEFINE_CLASS_1(firmware, firmware_driver, firmware_methods,
     sizeof(struct firmware_softc), simplebus_driver);
 
-static devclass_t firmware_devclass;
-
-EARLY_DRIVER_MODULE(firmware, simplebus, firmware_driver, firmware_devclass,
-    0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
+EARLY_DRIVER_MODULE(firmware, simplebus, firmware_driver, 0, 0,
+    BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
 MODULE_VERSION(firmware, 1);
diff --git a/sys/arm64/intel/stratix10-soc-fpga-mgr.c b/sys/arm64/intel/stratix10-soc-fpga-mgr.c
index f4fa600d517f..e871bea90fbd 100644
--- a/sys/arm64/intel/stratix10-soc-fpga-mgr.c
+++ b/sys/arm64/intel/stratix10-soc-fpga-mgr.c
@@ -284,7 +284,4 @@ static driver_t fpgamgr_s10_driver = {
 	sizeof(struct fpgamgr_s10_softc),
 };
 
-static devclass_t fpgamgr_s10_devclass;
-
-DRIVER_MODULE(fpgamgr_s10, simplebus, fpgamgr_s10_driver,
-    fpgamgr_s10_devclass, 0, 0);
+DRIVER_MODULE(fpgamgr_s10, simplebus, fpgamgr_s10_driver, 0, 0);
diff --git a/sys/arm64/intel/stratix10-svc.c b/sys/arm64/intel/stratix10-svc.c
index f68ac8600254..900cc00567f2 100644
--- a/sys/arm64/intel/stratix10-svc.c
+++ b/sys/arm64/intel/stratix10-svc.c
@@ -265,7 +265,5 @@ static driver_t s10_svc_driver = {
 	sizeof(struct s10_svc_softc),
 };
 
-static devclass_t s10_svc_devclass;
-
-EARLY_DRIVER_MODULE(s10_svc, firmware, s10_svc_driver,
-    s10_svc_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
+EARLY_DRIVER_MODULE(s10_svc, firmware, s10_svc_driver, 0, 0,
+    BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);