git: b04a8a6907fd - main - ste: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:24:55 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=b04a8a6907fd2ddfd60daf2fa2510c8c65298fc5
commit b04a8a6907fd2ddfd60daf2fa2510c8c65298fc5
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
ste: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/ste/if_ste.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sys/dev/ste/if_ste.c b/sys/dev/ste/if_ste.c
index 41375c13de60..19d71ca9773a 100644
--- a/sys/dev/ste/if_ste.c
+++ b/sys/dev/ste/if_ste.c
@@ -178,9 +178,7 @@ static driver_t ste_driver = {
sizeof(struct ste_softc)
};
-static devclass_t ste_devclass;
-
-DRIVER_MODULE(ste, pci, ste_driver, ste_devclass, 0, 0);
+DRIVER_MODULE(ste, pci, ste_driver, 0, 0);
DRIVER_MODULE(miibus, ste, miibus_driver, 0, 0);
#define STE_SETBIT4(sc, reg, x) \