The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=0a763c165f699e616b1ea0c72fb594124ba4ab69

commit 0a763c165f699e616b1ea0c72fb594124ba4ab69
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-05-10 17:21:38 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2022-05-10 17:21:38 +0000

    powerpc nexus: Remove unused devclass argument to DRIVER_MODULE.
---
 sys/powerpc/powerpc/nexus.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sys/powerpc/powerpc/nexus.c b/sys/powerpc/powerpc/nexus.c
index b3fe5a3e1527..a73e6efe82ca 100644
--- a/sys/powerpc/powerpc/nexus.c
+++ b/sys/powerpc/powerpc/nexus.c
@@ -111,11 +111,8 @@ static device_method_t nexus_methods[] = {
        DEVMETHOD_END
 };
 
-static devclass_t nexus_devclass;
-
 DEFINE_CLASS_0(nexus, nexus_driver, nexus_methods, 1);
-EARLY_DRIVER_MODULE(nexus, root, nexus_driver, nexus_devclass, 0, 0,
-    BUS_PASS_BUS);
+EARLY_DRIVER_MODULE(nexus, root, nexus_driver, 0, 0, BUS_PASS_BUS);
 MODULE_VERSION(nexus, 1);
 
 static int

Reply via email to