The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=51480b486a8672169be2d6b0223a1336310d9684

commit 51480b486a8672169be2d6b0223a1336310d9684
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-08-23 16:36:11 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2022-08-23 16:36:11 +0000

    mv88e151x: Remove unused devclass argument from DRIVER_MODULE.
---
 sys/dev/mii/mv88e151x.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys/dev/mii/mv88e151x.c b/sys/dev/mii/mv88e151x.c
index 9a15cf9238ab..ad51fefb03c8 100644
--- a/sys/dev/mii/mv88e151x.c
+++ b/sys/dev/mii/mv88e151x.c
@@ -65,15 +65,13 @@ static device_method_t mv88e151x_methods[] = {
        DEVMETHOD_END
 };
 
-static devclass_t mv88e151x_devclass;
-
 static driver_t mv88e151x_driver = {
        "mv88e151x",
        mv88e151x_methods,
        sizeof(struct mii_softc)
 };
 
-DRIVER_MODULE(mv88e151x, miibus, mv88e151x_driver, mv88e151x_devclass, 0, 0);
+DRIVER_MODULE(mv88e151x, miibus, mv88e151x_driver, 0, 0);
 
 static int mv88e151x_service(struct mii_softc *, struct mii_data *, int);
 static void mv88e151x_status(struct mii_softc *);

Reply via email to