Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2022 16:38:36 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 51480b486a86 - main - mv88e151x: Remove unused devclass argument from DRIVER_MODULE.
Message-ID:  <202208231638.27NGcaWa097230@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

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

commit 51480b486a8672169be2d6b0223a1336310d9684
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-08-23 16:36:11 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
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 *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208231638.27NGcaWa097230>