Date: Mon, 9 May 2022 21:47: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: ce4ca2edc669 - main - pbio: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205092147.249LlakK079870@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=ce4ca2edc6698eef8bc2744a35054edeeb109eac commit ce4ca2edc6698eef8bc2744a35054edeeb109eac Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 21:26:44 +0000 Commit: John Baldwin <jhb@FreeBSD.org> 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205092147.249LlakK079870>