git: abd890f9514c - main - superio: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:33 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=abd890f9514c61366065c404f31c6cf45f1dabfd commit abd890f9514c61366065c404f31c6cf45f1dabfd Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:04 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:04 +0000 superio: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/superio/superio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/superio/superio.c b/sys/dev/superio/superio.c index c0624dbc0412..6c7df002f198 100644 --- a/sys/dev/superio/superio.c +++ b/sys/dev/superio/superio.c @@ -992,8 +992,6 @@ superio_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, } } -static devclass_t superio_devclass; - static device_method_t superio_methods[] = { DEVMETHOD(device_identify, superio_identify), DEVMETHOD(device_probe, superio_probe), @@ -1030,5 +1028,5 @@ static driver_t superio_driver = { sizeof(struct siosc) }; -DRIVER_MODULE(superio, isa, superio_driver, superio_devclass, 0, 0); +DRIVER_MODULE(superio, isa, superio_driver, 0, 0); MODULE_VERSION(superio, 1);