The branch main has been updated by jhb:

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

commit ce4ca2edc6698eef8bc2744a35054edeeb109eac
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-05-09 21:26:44 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2022-05-09 21:26:44 +0000

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

diff --git a/sys/dev/pbio/pbio.c b/sys/dev/pbio/pbio.c
index 0fd841cd5720..2266fb6440d0 100644
--- a/sys/dev/pbio/pbio.c
+++ b/sys/dev/pbio/pbio.c
@@ -127,8 +127,6 @@ static device_method_t pbio_methods[] = {
        { 0, 0 }
 };
 
-static devclass_t      pbio_devclass;
-
 static char driver_name[] = "pbio";
 
 static driver_t pbio_driver = {
@@ -137,7 +135,7 @@ static driver_t pbio_driver = {
        sizeof(struct pbio_softc),
 };
 
-DRIVER_MODULE(pbio, isa, pbio_driver, pbio_devclass, 0, 0);
+DRIVER_MODULE(pbio, isa, pbio_driver, 0, 0);
 
 static __inline uint8_t
 pbinb(struct pbio_softc *scp, int off)

Reply via email to