git: 6540641ce27f - main - stge: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:24:56 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=6540641ce27fd09009f154517003809a20bb3b51
commit 6540641ce27fd09009f154517003809a20bb3b51
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-06 22:46:56 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:46:56 +0000
stge: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/stge/if_stge.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sys/dev/stge/if_stge.c b/sys/dev/stge/if_stge.c
index 0c93a18c0235..7f35f064d759 100644
--- a/sys/dev/stge/if_stge.c
+++ b/sys/dev/stge/if_stge.c
@@ -226,9 +226,7 @@ static driver_t stge_driver = {
sizeof(struct stge_softc)
};
-static devclass_t stge_devclass;
-
-DRIVER_MODULE(stge, pci, stge_driver, stge_devclass, 0, 0);
+DRIVER_MODULE(stge, pci, stge_driver, 0, 0);
DRIVER_MODULE(miibus, stge, miibus_driver, 0, 0);
static struct resource_spec stge_res_spec_io[] = {