git: 0d6d8bac8b70 - main - arcmsr: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:25:20 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=0d6d8bac8b70340be935a1a494a4f0cbb5651cec commit 0d6d8bac8b70340be935a1a494a4f0cbb5651cec Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-06 22:46:58 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:46:58 +0000 arcmsr: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/arcmsr/arcmsr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/arcmsr/arcmsr.c b/sys/dev/arcmsr/arcmsr.c index 2a1b0250364f..dcb940bf339c 100644 --- a/sys/dev/arcmsr/arcmsr.c +++ b/sys/dev/arcmsr/arcmsr.c @@ -220,8 +220,7 @@ static driver_t arcmsr_driver={ "arcmsr", arcmsr_methods, sizeof(struct AdapterControlBlock) }; -static devclass_t arcmsr_devclass; -DRIVER_MODULE(arcmsr, pci, arcmsr_driver, arcmsr_devclass, 0, 0); +DRIVER_MODULE(arcmsr, pci, arcmsr_driver, 0, 0); MODULE_DEPEND(arcmsr, pci, 1, 1, 1); MODULE_DEPEND(arcmsr, cam, 1, 1, 1); #ifndef BUS_DMA_COHERENT