git: 725fda594f83 - main - powermac_nvram: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:15 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=725fda594f83fd027c42db4c394db963548f5e92
commit 725fda594f83fd027c42db4c394db963548f5e92
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-10 17:21:38 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-10 17:21:38 +0000
powermac_nvram: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/powermac_nvram/powermac_nvram.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sys/dev/powermac_nvram/powermac_nvram.c b/sys/dev/powermac_nvram/powermac_nvram.c
index 7c6c4d2bc8a1..7913437bd1fc 100644
--- a/sys/dev/powermac_nvram/powermac_nvram.c
+++ b/sys/dev/powermac_nvram/powermac_nvram.c
@@ -85,9 +85,7 @@ static driver_t powermac_nvram_driver = {
sizeof(struct powermac_nvram_softc)
};
-static devclass_t powermac_nvram_devclass;
-
-DRIVER_MODULE(powermac_nvram, ofwbus, powermac_nvram_driver, powermac_nvram_devclass, 0, 0);
+DRIVER_MODULE(powermac_nvram, ofwbus, powermac_nvram_driver, 0, 0);
/*
* Cdev methods.