git: a5ae770a1462 - main - pcf: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 21:47:30 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=a5ae770a14629977a6ccf4d84f43f168a7f62c2c commit a5ae770a14629977a6ccf4d84f43f168a7f62c2c Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 21:26:43 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 21:26:43 +0000 pcf: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/pcf/pcf_isa.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/pcf/pcf_isa.c b/sys/dev/pcf/pcf_isa.c index ed345349c5c0..45b1abfdefd7 100644 --- a/sys/dev/pcf/pcf_isa.c +++ b/sys/dev/pcf/pcf_isa.c @@ -83,8 +83,6 @@ static device_method_t pcf_isa_methods[] = { { 0, 0 } }; -static devclass_t pcf_isa_devclass; - static driver_t pcf_isa_driver = { PCF_NAME, pcf_isa_methods, @@ -210,4 +208,4 @@ pcf_isa_detach(device_t dev) return (0); } -DRIVER_MODULE(pcf_isa, isa, pcf_isa_driver, pcf_isa_devclass, 0, 0); +DRIVER_MODULE(pcf_isa, isa, pcf_isa_driver, 0, 0);