Date: Mon, 9 May 2022 19:22:46 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: ea7e37731f10 - main - dcons: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205091922.249JMkjY085292@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=ea7e37731f10439e483326f2adc731ed284f3135 commit ea7e37731f10439e483326f2adc731ed284f3135 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:01 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:01 +0000 dcons: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/dcons/dcons_crom.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/dcons/dcons_crom.c b/sys/dev/dcons/dcons_crom.c index 2a320ef65f3d..63732cf80406 100644 --- a/sys/dev/dcons/dcons_crom.c +++ b/sys/dev/dcons/dcons_crom.c @@ -248,8 +248,6 @@ dcons_crom_detach(device_t dev) return 0; } -static devclass_t dcons_crom_devclass; - static device_method_t dcons_crom_methods[] = { /* device interface */ DEVMETHOD(device_identify, dcons_crom_identify), @@ -265,8 +263,7 @@ static driver_t dcons_crom_driver = { sizeof(struct dcons_crom_softc), }; -DRIVER_MODULE(dcons_crom, firewire, dcons_crom_driver, - dcons_crom_devclass, 0, 0); +DRIVER_MODULE(dcons_crom, firewire, dcons_crom_driver, 0, 0); MODULE_VERSION(dcons_crom, 1); MODULE_DEPEND(dcons_crom, dcons, DCONS_VERSION, DCONS_VERSION, DCONS_VERSION);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205091922.249JMkjY085292>