git: 6b66c298862e - main - ciss: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:43:10 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=6b66c298862e65f5dec6861bc21f661f1db91cdc commit 6b66c298862e65f5dec6861bc21f661f1db91cdc Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-19 21:04:42 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:29 +0000 ciss: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/ciss/ciss.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index 0b9648ed530d..0a0d29f382a1 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -367,8 +367,7 @@ static struct { 0, 0, 0, NULL } }; -static devclass_t ciss_devclass; -DRIVER_MODULE(ciss, pci, ciss_pci_driver, ciss_devclass, 0, 0); +DRIVER_MODULE(ciss, pci, ciss_pci_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device;", pci, ciss, ciss_vendor_data, nitems(ciss_vendor_data) - 1); MODULE_DEPEND(ciss, cam, 1, 1, 1);