git: 69a5757280e7 - main - adlink: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:30 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=69a5757280e7ac18f3b32823272a6357ee94ed15 commit 69a5757280e7ac18f3b32823272a6357ee94ed15 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-10 17:21:38 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-10 17:21:38 +0000 adlink: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/adlink/adlink.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/adlink/adlink.c b/sys/dev/adlink/adlink.c index ed4f4e0ca7b9..302e3c10498c 100644 --- a/sys/dev/adlink/adlink.c +++ b/sys/dev/adlink/adlink.c @@ -344,8 +344,6 @@ adlink_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct threa return (error); } -static devclass_t adlink_devclass; - struct pci_id { uint16_t vendor; @@ -437,7 +435,7 @@ static driver_t adlink_driver = { sizeof(struct softc) }; -DRIVER_MODULE(adlink, pci, adlink_driver, adlink_devclass, 0, 0); +DRIVER_MODULE(adlink, pci, adlink_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, adlink, adlink_id, nitems(adlink_id)); #endif /* _KERNEL */