git: 54b3d1efbf3c - main - rbled: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:20 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=54b3d1efbf3c04bf92ec22b744849bec4a820751
commit 54b3d1efbf3c04bf92ec22b744849bec4a820751
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
rbled: Remove unused devclass argument to DRIVER_MODULE.
---
sys/powerpc/mikrotik/rb_led.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sys/powerpc/mikrotik/rb_led.c b/sys/powerpc/mikrotik/rb_led.c
index d533df956cea..e9da590a05f2 100644
--- a/sys/powerpc/mikrotik/rb_led.c
+++ b/sys/powerpc/mikrotik/rb_led.c
@@ -67,9 +67,7 @@ static driver_t rbled_driver = {
sizeof(struct rbled_softc),
};
-static devclass_t rbled_devclass;
-
-DRIVER_MODULE(rbled, simplebus, rbled_driver, rbled_devclass, 0, 0);
+DRIVER_MODULE(rbled, simplebus, rbled_driver, 0, 0);
static int
rbled_probe(device_t dev)